24 Feb 2012 1:52 AM #1
[B3] Infinite Scrolling
Now scrolling with infinite is almost perfect.
I have one problem - when you load large data (about 10000 rows) its ok.
But when you reload the store to lower value of data (about 100), then the scroller dont recalculate and you have meny white space under the last row (from 101 to 10000).
How can I force recalculate the scroller to fit the totalCount of store?
24 Feb 2012 11:37 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The infinite grid example has over 6,000 records total but only returns a portion of it and scrolls just fine. I'm not sure what you are asking then.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
24 Feb 2012 1:08 PM #3
When you reload the store (some filtering) and you have less data from server.
Then scrollbar don`t fit to new totalCount of store:
And you have many of white space down from last record.
How force recalculating the scrollBar?
24 Feb 2012 2:26 PM #4
24 Feb 2012 2:38 PM #5
23 May 2012 1:18 AM #6
I've been able to fix scrolling issues after a data reload (different data returned after changing store.extraParams) by calling