1 <div class="apiDetail">
\r
3 <h2><span>String</span><span class="path">treeNode.</span>tId</h2>
\r
4 <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
\r
7 <div class="longdesc">
\r
8 <p>The unique identifier of node.</p>
\r
9 <p class="highlight_red">Do not initialize or modify it, it is created by the zTree.</p>
\r
12 <h3>String Format</h3>
\r
14 <p>tId rules: setting.treeId + "_" + zTree counter</p>
\r
16 <h3>Examples of treeNode</h3>
\r
17 <h4>1. Get the first selected node's tId</h4>
\r
18 <pre xmlns=""><code>var treeObj = $.fn.zTree.getZTreeObj("tree");
\r
19 var sNodes = treeObj.getSelectedNodes();
\r
20 if (sNodes.length > 0) {
\r
21 var tId = sNodes[0].tId;
\r