1. #1
    Ext User
    Join Date
    May 2009
    Posts
    11
    Vote Rating
    0
    bugsbunny is on a distinguished road

      0  

    Default Removeall for Card layout

    Removeall for Card layout


    Hi everyone,

    I am trying to add remove components or panels into card layout dynamically.
    Is there a removeall command in the cardlayout so that all the panels inside it can be destroyed/removed.

    I think tabpanel has such thing but cardlayout doesnot seem to have this.

    eg I have 3 items panel1, panel 2, panel3

    inside cardlayout.

    someething like cardlayout.removeAll() which will remove all the panels
    removeAll



    Thanks for the help in advance.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It's a method of the Container.

Thread Participants: 1