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
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of lists in javascript product.