-
6 Jul 2011 11:24 PM #1
Ext.grid.PagingScroller often uses the `store` from its panel, not the provided one.
Ext.grid.PagingScroller often uses the `store` from its panel, not the provided one.
The Scroller class has the `store` attribute, which is provided by the panel in the `initVerticalScroller` method. However, in several methods (`syncTo/onElScroll`) scroller uses the `store` from panel, and not own reference:
In certain advanced situations (like buffering of the tree view) it makes us to override those methods in whole..Code:syncTo: function() { var me = this, pnl = me.getPanel(), store = pnl.store, scrollerElDom = this.scrollEl.dom, onElScroll: function(e, t) { var me = this, panel = me.getPanel(), store = panel.store, pageSize = store.pageSize, guaranteedStart = store.guaranteedStart,
-
6 Jul 2011 11:26 PM #2
Bah, and in `setViewScrollTop` scroller uses the store from view

Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote