count

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

number count();

Returns

numberthe number of visible (opened) items

Example

tree = new 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.