BooleantreeNode.isLastNode

Overview[ depends on jquery.ztree.core js ]

Judge whether the node is the sibling nodes's last node.

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

Boolean Format

true means: the node is last node.

false means: the node is not last node.

Examples of treeNode

1. Judge whether the first selected node is the sibling nodes's last node.

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