eachOpen of TreeStore, Methods Webix Docs

iterates through opened nodes of the tree (both parent and child)

void eachOpen(function code, [object master,string pid] );

code

functiona function that needs calling for each data item master
objectan object that the function is applied to (this by default) pid