Results 1 to 2 of 2

Thread: ExtJS GridPanel Height

  1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    97
    Answers
    4

    Default Answered: ExtJS GridPanel Height

    Hi,

    I have a container that has 3 GridPanels, one under another.
    GridPanel C is collapsed by default.

    What I am trying to accomplish is have the non-collapsed GridPanels occupy the container space by default, no matter which and how many are collapsed or not.
    What happens now is that the GridPanels take up as much space as is required to display all the rows.
    A GridPanel with 0 rows will take up no space other than the title bar.

    For example, if there is only one GridPanel not collapsed, it should take up all of the container space ( except for the little space that is left for the two collapsed GridPanels ), if two, then they should split the space in half. If all three, then split the space threeways.

  2. Had to set the parent container layout to :

    Code:
                            
    layout:
    {
        type: 'accordion',
        multi: true
    }

  3. #2
    Sencha User
    Join Date
    Aug 2013
    Posts
    97
    Answers
    4

    Default

    Had to set the parent container layout to :

    Code:
                            
    layout:
    {
        type: 'accordion',
        multi: true
    }

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •