Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by adrian on Mar 11, 2008 04:36
open dhtmlx forum
dhtmlxTree: How can I get the nodes which the checked=-1(some-child-checked)?

I have a question about dhtmlxTree:

When I use it like this

tree.enableCheckBoxes(1); tree.enableThreeStateCheckboxes(true);

How can I get the all checked nodes?

It seems like the function getAllChecked() only get the nodes with checked=1, how can I get the nodes which the checked=-1(some-child-checked)?

Are there some functions can help me?



Thanks a lot!

Answer posted by Support on Mar 11, 2008 04:41
The tree has next functionality

    tree.getAllChecked();
    tree.getAllCheckedBranches();
    tree.getAllUnchecked();
    tree.getAllPartiallyChecked();