1 <div class="apiDetail">
\r
3 <h2><span>Boolean</span><span class="path">treeNode.</span>isHidden</h2>
\r
4 <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exhide</span> js ]</span></h3>
\r
7 <div class="longdesc">
\r
8 <p>Judge whether the node has been hidden.</p>
\r
9 <p class="highlight_red">1. When initialize zTree, the nodes which be set 'isHidden = true' will be hidden.</p>
\r
10 <p class="highlight_red"></p>
\r
11 <p class="highlight_red">2. Please don't change this attribute of the nodes which have been created. If you want to hide or show nodes, please use 'hideNode() / hideNodes() / showNode() / showNodes()' methods.</p>
\r
14 <h3>Boolean Format</h3>
\r
16 <p> true means: this node is hidden.</p>
\r
17 <p> false means: this node is shown.</p>
\r
19 <h3>Examples of treeNode</h3>
\r
20 <h4>1. Judge whether the first root node has been hidden.</h4>
\r
21 <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
\r
22 var sNodes = treeObj.getNodes();
\r
23 if (sNodes.length > 0) {
\r
24 var isHidden = sNodes[0].isHidden;
\r