1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    german.larrosa is on a distinguished road

      0  

    Default Unanswered: Panel´s height doesn´ adjust its height dynamically

    Unanswered: Panel´s height doesn´ adjust its height dynamically


    Hi,

    I have defined a textField and a list both inside a panel (the panel has its scroll property set to 'vertical' and the list has its scroll property set to false).
    I am using this kind of configuration since I need both components (textfield and list) be scrolled at the same time.

    My problem is being giving when the list´s store is updated, in this case I suppose that the panel´s height should be modified automatically but it doesn´t.

    I have tried using the following approaches without success:

    panel.childrenChange = true
    panel.doComponentLayou()

    Any help ?

    Thanks in advance.
    German.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    When you say list, are you referring to a grid? You want the parent panel to grow with the records in the grid?

    typo? .. childrenChanged / doComponentLayout()

    Scott.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Answers
    13
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Have you configured the grid with a height?

Thread Participants: 2

Tags for this Thread