I have a problem when I get all selected node in my tree. Once I use “tree.getAllChecked()” function to get my select leaf nodes, but it always return parent node for me too.
So how can I get the leaf only when I use dhtmlxtree?
there is getAllChildless() method that returns the list of leaves. So, you can iterate through ids in this list and choose items with checked state =1. The isItemChecked method returns the state of item checkbox: