Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Simon on May 05, 2008 22:09
open dhtmlx forum
how to get nodes of exact level in a tree?

and how to get text of one node? thank you to your reply
Answer posted by Support on May 07, 2008 03:29
You can get IDs of child-items as
    var list=tree.getSubItems(); // comma separated list of IDs

To get tree label by ID
    var text = tree.getItemText(id);