1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Sallanches, France
    Posts
    371
    Vote Rating
    0
    Answers
    16
    myput is on a distinguished road

      0  

    Default Unanswered: rebuild a view after destroy

    Unanswered: rebuild a view after destroy


    Hey, i would like to know if there is in sencha touch 1.x a way to rebuild a view or call a view after destroy.

    i have a panel, i add a component to this panel, and i destroy the component with deactivate the panel.
    I would like to rebuild a new view, the same component as before destroyed.

    Is it possible please?

  2. #2
    Sencha - Services Team tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,292
    Vote Rating
    6
    Answers
    56
    tobiu will become famous soon enough

      0  

    Default


    if you create a custom class using Ext.extend(), you can create as many instances of it at any time you like to.
    Best regards
    Tobias Uhlig
    __________


    Sencha Inc
    Tobias Uhlig, Solutions Engineer

    Private Projects:

    S-CIRCLES Social Network Engine
    Commercial Theming for Ext JS 3 & 4

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    16
    Vote Rating
    0
    Answers
    1
    Travisrowland is on a distinguished road

      0  

    Default


    How do you create a new instance of it?

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    16
    Vote Rating
    0
    Answers
    1
    Travisrowland is on a distinguished road

      0  

    Default


    I really would like to know how to create a new instance of it without having to redefine the entire thing, please help. Thanks.

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Posts
    16
    Vote Rating
    0
    Answers
    1
    Travisrowland is on a distinguished road

      0  

    Default


    Come on help me please!