I think I found a bug the pager template. I have a datatable with a search. The pager indicates the total number of records found. When the resultset is smaller than the current page size, the template-function is not executed.
I have made a snippet to illustrate. To reproduce, flick the bottom buttons in this order:
- large
- medium
- small (template-function not executed)
- medium (template-function not executed)
- small (template-function not executed)
- large
http://webix.com/snippet/bbbf654e
Can someone confirm? Is there a way around this problem? Should I recreate my pager after every data load?