Threaded View

  1. #1
    Sencha User
    Join Date
    Jul 2008
    Posts
    3
    Vote Rating
    0
    d.braghieri is on a distinguished road

      0  

    Default 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

  2. Hi Sbrega,

    You can work with the scroll event on the grid view Ext.dom.Element:
    Code:
    {
    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.

    Bye

Thread Participants: 1

Tags for this Thread