yCount

defines the height of the datatable in rows

number yCount;

Example

/* the height of the datatable will be enough to show 20 rows
(the rest of the rows will be hidden and can be scrolled to)
*/
webix.ui({
   view:"datatable",
   yCount:20
});

Details

Possible values for the property are:

  • the desired number;
  • 0, to disable yCount (calculate the number of the item on the base of component size).

Related sample:  List: Animated Pagination

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