dhtmlxTree: How can I get the nodes which the checked=-1(som

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!



The tree has next functionality

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