1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    24
    Vote Rating
    0
    manoj123 is on a distinguished road

      0  

    Default Restoring states for TreePanel and Dynamic TabPanel

    Restoring states for TreePanel and Dynamic TabPanel


    Hi,

    I have a two panels: A TreePanel (URL TreeStore) on the left with a list of departments and employees. When an user clicks on the employee name, a new tab is added to the TabPanel on the right for each employee (if there is no tab already open for that employee).

    When an user logs out and logs back in, I wanted to restore the state of TreePanel and have the same number of tabs opened and same active tab as he had before logging out.

    I was able to restore state of few other components in my page by adding stateId and stateEvents. However for these two components, I was unable to restore the state.

    Wondering if you can shed some light on state management for TreePanel and TabPanel with dynamic number of tabs.

    many thanks for looking.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    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


    Please have a look at the following:
    http://www.sencha.com/forum/showthre...ull-tree-panel

    There is nothing built-in to save states in treePanel at this time.

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."