+ Reply to Thread
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.
This is required since there may be cases where the total count of rows may not be known.
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.
Which methods in PagingToolbar will I have to override?
Could you please give me a code sample?
Could you please provide me with some more information/code samples on how to achieve this?