Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jul 21, 2008 07:55
open dhtmlx forum
How to iterate all check box of tree

How can i loop through all the element after tree loading

Answer posted by Support on Jul 21, 2008 08:41
Tree has not built-in itterators.
You can use
    tree.getAllSubItems(0)
to get list of all elements in tree.

Also tree supports ready to use commands as
    tree.getAllChecked(..
    tree.getAllUnchecked(...
    tree.getAllPartiallyChecked(...