Treetable records per page

Hi,

No of records per page is set by default, is there any property which lets us have an option to let user select page size?

For example, we set pagesize as 10 by default, and also give options {5,10,25,100,All} to user so he/she can select.

Thanks!

You can use the following code:

grida.getPager().define({ size:19 }); // new number of rows per page
grida.getPager().refresh();
grida.refreshColumns()

Sample: http://webix.com/snippet/3660b41a;

getPager() method;

Pager API.

Hi, thanks for the reply.