eachLeaf of TreeStore, Methods Webix Docs
iterates through the leaves (items with no sub-items) of the specified branch
void eachLeaf(string pid,function code);
pid
Example
tree.data.eachLeaf("1.2",function(obj){ console.log(obj.id)});
eachLeaf of TreeStore, Methods Webix Docs
iterates through the leaves (items with no sub-items) of the specified branch
void eachLeaf(string pid,function code);
pid
tree.data.eachLeaf("1.2",function(obj){ console.log(obj.id)});