[CLOSED] RowExpander scroll to top of grid when expanded

  1. #1

    [CLOSED] RowExpander scroll to top of grid when expanded

    How can I make a rowexpander scroll the expanded row to the top of the grid when expanded?
    Last edited by Daniil; Dec 01, 2011 at 7:33 PM. Reason: [CLOSED]
  2. #2
    Hi,

    In the example
    https://examples1.ext.net/#/GridPane...ic_GridPanels/
    it can be achieved setting this BeforeExpand DirectEvent's Before handler:

    Example
    Before="if (body.rendered) {
                var grid = Ext.getCmp('GridPanelRow_' + record.id);
                grid.getView().scrollToTop();
                return false;
            }
            return true;"

Similar Threads

  1. Replies: 4
    Last Post: Oct 09, 2013, 10:19 AM
  2. [CLOSED] RowExpander Plugin for Grid
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: Jul 14, 2011, 2:48 PM
  3. [CLOSED] RowExpander | Currently Expanded Row
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 30, 2010, 12:22 PM
  4. [CLOSED] grid rowexpander template
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 10, 2009, 2:01 AM
  5. [CLOSED] Grid Scroll
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 19, 2009, 10:32 AM

Posting Permissions