This question is locked. New answers and comments are not allowed.
function SelectClientHierarchyItem(uniqueId, type) { var treeview = $('#ClientHierarchyTreeView').data('tTreeView'); if (treeview != undefined) { var targetNodes = treeview.findByValue(uniqueId).closest("li"); for (i = 0; i < targetNodes.length; i++) { var node = targetNodes[i]; if (node.getAttribute("nodetype") == type) { node.click(); break; } } } }The above function handles tree with same values for multiple nodes.
This does not works for node.click(), any help will be appriciated.
[Also unsucessfully tried -
treeview.nodeClick(node,
true);
]
Thanks,
Amol