Tree control - check box

How to get only checked child items in a tree view and not the parent nodes ? I am using getChecked() method of treeview to get all checked items but array returns parent nodes as well with child nodes.

You can iterate through the tree item with the help of an each method.

Each tree item features such specific properties as

  • $level - defined the nesting level of an item;
  • $parent - stores the parent node of an item;
  • checked - stores item checkbox value.

According to them you can select which items you would like to get.
Like here: http://webix.com/snippet/20e0b55f

thanks … I figure out the same solution :slight_smile: