View Full Version : [B3] Infinite Scrolling
24 Feb 2012, 1:52 AM
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
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.
24 Feb 2012, 1:08 PM
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
I have had this problem since 4.0.2a.
it is not new to beta 3. I never got a chance to write a nice bug for it.
24 Feb 2012, 2:38 PM
I believe you are talking about this issue, which I made a bug for a while back:
(http://www.sencha.com/forum/showthread.php?176882)Hopefully it is fixed soon!
23 May 2012, 1:18 AM
I've been able to fix scrolling issues after a data reload (different data returned after changing store.extraParams) by calling
first (before any load method).
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.