ZTREE DEMO - Hide With Checkbox Mode

# Hide With Checkbox Mode

###### [ File Path: exhide/checkbox.html ]

- ## 1, Explanation of setting

  - Use the freature which to hide nodes, you don't need to set any attributes.

- ## 2, Explanation of treeNode

  - Before you init zTree, set treeNode.isHidden = true, and you can hide the node.

  - Hide or show the nodes:
    Try: [ Hide the nodes which be selected ]
    [ Show all of the nodes which be hidden ]

    - Total nodes which 'isHidden' attribute is true:
    - Total hidden nodes:
    - Total check nodes: Total uncheck nodes:
    - After hide nodes, you can see the 'isFirstNode' and 'isLastNode' attributes on the nodes which still be shown.

- ## 3、Other explanation

  - Hide nodes will effect the 'isFirstNode' and 'isLastNode' attributes, but will not effect the 'getPreNode()' and 'getNextNode()' method.