hello,
I am using latest dhtmlx tree. I want to get immediate child items for a given item node. For example if I have node “A” :
A-> “1” (there may or may not be nodes under node “1”)
A->“2”
A->“3”
“1”, “2” & “3” are children of “A”. I want to get those nodes. I cant find any function for it. Please help.
Thanks a lot.
Can be done as
tree.getSubItems(itemID)
in your case
tree.setSubItems(“A”); // => “1,2,3”