Hybrid View
-
1 May 2012 10:33 PM #1
Answered: Ext.Grid.Panel 4.1 : horizontalScroller ?
Answered: Ext.Grid.Panel 4.1 : horizontalScroller ?
With 4.0.7 version i use the event horizontalScroller on Gris.Panel for keep the same visible column on second grid in according to the original...
With version 4.1 ( the virtual scroll bar are not used ) the metod is missing...
And now? There are a event to trace for know the scrolling of Grid?
Thanks in advance
Davide Braghieri
-
Best Answer Posted by d.zucconi
Hi Sbrega,
You can work with the scroll event on the grid view Ext.dom.Element:
Then implement your onViewScroll event handler to work with this view event.Code:{ xtype: 'gridpanel', ... listeners: { scope: this, viewready: function(grid) { var view = grid.getView(); var el = view.getEl(); this.mon(el,'scroll', this.onViewScroll,this); }
Bye
-
2 May 2012 9:57 PM #2
-
3 May 2012 4:25 AM #3
Hi Sbrega,
You can work with the scroll event on the grid view Ext.dom.Element:
Then implement your onViewScroll event handler to work with this view event.Code:{ xtype: 'gridpanel', ... listeners: { scope: this, viewready: function(grid) { var view = grid.getView(); var el = view.getEl(); this.mon(el,'scroll', this.onViewScroll,this); }
Bye
-
3 May 2012 4:40 AM #4


Reply With Quote
