Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jpouille on Nov 10, 2009 11:25
open dhtmlx forum
Hi, When i use getAllChecked, I will get all checked item that includes parent node also. But i only want the parent node.


Answer posted by Alex (support) on Nov 11, 2009 02:13

Hello,

there is hasChildren method. It returms the number of child items.

So, you can iterate through all ids in the checked list and get all items with child nodes.