StringtreeNode.tId

Overview[ depends on jquery.ztree.core js ]

The unique identifier of node.

Do not initialize or modify it, it is created by the zTree.

String Format

tId rules: setting.treeId + "_" + zTree counter

Examples of treeNode

1. Get the first selected node's tId

var treeObj = $.fn.zTree.getZTreeObj("tree");
var sNodes = treeObj.getSelectedNodes();
if (sNodes.length > 0) {
	var tId = sNodes[0].tId;
}