Results 1 to 2 of 2

Thread: Removeall for Card layout

  1. #1
    Ext User
    Join Date
    May 2009
    Posts
    11
    Vote Rating
    0
      0  

    Default 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,607
    Vote Rating
    59
      0  

    Default

    It's a method of the Container.

Posting Permissions

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