View Full Version : Ext.Grid.Panel 4.1 : horizontalScroller ?

1 May 2012, 10:33 PM
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

2 May 2012, 9:57 PM
nothing? :s

3 May 2012, 4:25 AM
Hi Sbrega,

You can work with the scroll event on the grid view Ext.dom.Element:

xtype: 'gridpanel',
listeners: {
scope: this,
viewready: function(grid)
var view = grid.getView();
var el = view.getEl();
this.mon(el,'scroll', this.onViewScroll,this);

Then implement your onViewScroll event handler to work with this view event.


3 May 2012, 4:40 AM
It's Work FINE!

Thank's ;)