/ Published in: JavaScript

To retain the scroll position after a store load in grid
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
view config: onLoad: Ext.emptyFn, listeners: { beforerefresh: function(v) { v.scrollTop = v.scroller.dom.scrollTop; }, refresh: function(v) { v.scroller.dom.scrollTop = v.scrollTop; }, }
Comments
