getVisibleCount

returns the number of items that can be seen with the current view height

number getVisibleCount();

Returns

numberthe count 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 best ui framework and page of object list javascript product.