datatable pagination dynamic pager size

Hello Webix team,

https://snippet.webix.com/1ogplw6f

In above snippet,

I want my pager size to be dynamic. Whatever value I will add in my text box → and on click of Apply button I want my page size to get change. It works for only first page not for all other pages.

Hi,
Please check:
https://snippet.webix.com/0s0ial10
The key point is

$$('pager').config.size=pageLimit*1; 

size must be a number, when you are providing a string it breaks the inner math.

Thank You Nastja

Hello Nastja,

https://snippet.webix.com/0s0ial10

In above snippet, there is one issue, please try to set 1 value for pager then click apply button and select third/forth tab of pager result will be displayed. Again try to set value 10 for pager and click apply it is not showing the data.

Hi @Tejal ,
Try this sample: https://snippet.webix.com/k71av960