[CLOSED] Row Expander Plugin with GridPanel

  1. #1

    [CLOSED] Row Expander Plugin with GridPanel

    Hello,

    is there any way to set up nested gridpanel's height depending on it's content on a client side?


    In the example: https://examples1.ext.net/#/GridPane...ic_GridPanels/

    
     GridPanel grid = new GridPanel{
                 ID = "GridPanelRow_"+id,
                 StoreID = "{raw}StoreRow_" + id,
                 Height = 200
            };
    the height is set to 200 on the server.
    Last edited by Daniil; Jan 31, 2011 at 2:35 PM. Reason: [CLOSED]
  2. #2
    Hi,

    You can use .setHeight() method when you will know content's size.

    For example, in ViewReady listener.

    Example
    GridPanel grid = new GridPanel{
         ID = "GridPanelRow_"+id,
         StoreID = "{raw}StoreRow_" + id,
    };
    grid.Listeners.ViewReady.Handler = "this.setHeight(400)";

Similar Threads

  1. GridPanel Row Expander new row
    By asteriskgr in forum 2.x Help
    Replies: 0
    Last Post: Aug 06, 2012, 8:00 PM
  2. [CLOSED] Paging Row Expander Plugin with GridPanel
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 0
    Last Post: May 15, 2012, 7:00 PM
  3. Replies: 4
    Last Post: Nov 08, 2010, 11:13 AM
  4. Row Expander Plugin with Gridpanels
    By NishaLijo in forum 1.x Help
    Replies: 0
    Last Post: Aug 19, 2010, 12:07 PM
  5. Row Expander Plugin -User Control
    By sharif in forum 1.x Help
    Replies: 0
    Last Post: Nov 24, 2009, 3:43 PM

Tags for this Thread

Posting Permissions