var nodes = treeobj.transformToArray(treeobj.getNodes());
if (nodes.length > 0) {
for (var i = 0; i < nodes.length; i++) {
if (nodes[i].Id == noid) {
treeobj.selectNode(nodes[i]);
break;
}
}
}
var nodes = treeobj.transformToArray(treeobj.getNodes());
if (nodes.length > 0) {
for (var i = 0; i < nodes.length; i++) {
if (nodes[i].Id == noid) {
treeobj.selectNode(nodes[i]);
break;
}
}
}