Grid paging without the 'totalProperty' attribute.
Grid paging without the 'totalProperty' attribute.
Hi,
Is there any way to achieve paging on a grid without having to use the 'totalProperty' attribute? Our server code fetches the total count of rows only under certain conditions.
You'll have to override some methods in PagingToolbar, or subclass it to make it not care about what the Store's getTotalCount returns, and have it fill in that value when it reads a page which returns with less than "pageSize" rows in.