Unanswered: paging toolbar showing incorrect total number of pages(afterPageText)
am trying to add one paging toolbar in my existing toolbar and hide the first, previous, next, last and refresh button by using following code. My problem is that I am unable to fetch correct afterPageText value(total number of pages). I m doing this for resultlist in xCP Designer. Plz help.
The first question I would have is whether it works correctly when you use the pagingtoolbar without applying your overrides. If so, then it must be coming from something you have added or inadvertently omitted. If you get the same results in the out-of-the-box toolbar as with your custom override, then there must be something not configured correctly in your data and how the reader is interpreting the size of the store.
Since you seem to really only want to show the "info" in the toolbar, you might find it's easier to simply create a custom extension (not override) of a toolbar that simply shows the data.
Do you have a test case you can post with your custom override of the pagingtoolbar? Feel free to create a fiddle here: https://fiddle.sencha.com. That would definitely help in debugging your issue.