Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jame Chiang on Jun 11, 2009 10:32
open dhtmlx forum
How to get all nodes of specific level

if tree have 3 levels, how to get all nodes of second level
Answer posted by Alex (support) on Jun 12, 2009 01:24

You can use getSubItems to get child items of a certain node. 

The first call of this method for root level will return ids of the 1st-level items. Then you can call this method for each item of the first level to get all 2nd-level items