Skip to content

Instantly share code, notes, and snippets.

@crysfel
Created November 17, 2011 16:31
Show Gist options
  • Save crysfel/1373631 to your computer and use it in GitHub Desktop.
Save crysfel/1373631 to your computer and use it in GitHub Desktop.
ExtJS workaround for scroller issue
Ext.grid.Panel.override({
initComponent : function(){
var me = this;
me.callParent();
me.on('scrollershow', function(scroller) {
if (scroller && scroller.scrollEl) {
scroller.clearManagedListeners();
scroller.mon(scroller.scrollEl, 'scroll', scroller.onElScroll, scroller);
}
});
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment