getVisibleCount

counts the items that can be seen with the current view height

number getVisibleCount();
numberthe number of visible items

Example

var count = $$("mylist").getVisibleCount();

Details

The method will not work for list with variable item height.

webix.ui({
    view:"mylist",
    type:{ height:"auto" }
});
var count = $$("mylist").getVisibleCount(); //NaN
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix js frameworks and page of javascript menu library product.