23 Nov 2010 9:18 AM #1
Ext.data.Store.removeAll() does not reset the totalLength property
Currently the totalLength is not reset by the removeAll() function. This causes the problems when you use bind the store to the PagingToolbar. The PaginToolbar.getPageData() depends on the store.getTotalCount() function and this has not been reset when the removeAll is invoked.
24 Nov 2010 2:21 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
This has been posted before.
1. Store doesn't update totalLength on all updates (add, remove removeAll and filter).
2. PagingToolbar doesn't listen to add, remove, clear and datachanged store events to update the info.
My PagingStore user extension includes an extended PagingToolbar that addresses these issues.
By dave.culver in forum Ext 3.x: BugsReplies: 5Last Post: 15 Jul 2010, 5:33 AM
By cginzel in forum Ext 3.x: BugsReplies: 2Last Post: 3 Apr 2010, 9:11 AM
By hu97224 in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 15 Mar 2010, 11:57 AM
By wkemper in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 16 Sep 2007, 11:35 PM