count

returns the number of currently visible items (counts both parent and child nodes)

number count();
numberthe number of visible (opened) items

Example

tree = webix.ui({
    view:"tree",
    ...
});
 
tree.count();

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui framework and page of javascript tree control product.