1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    shwetapro is on a distinguished road

      0  

    Default Answered: Is there any setStore() method for TreePanel?

    Answered: Is there any setStore() method for TreePanel?


    Hi,
    In my case I have a template defined for a treepanel but I have to pass the actual data(dynamic data) only after certains start up tasks are completed.
    So the usecase is to pass store to treepanel after condition X has occured.

    Any clue how to do that?

    There is getStore() method but no setStore() method.

    Help and suggestions appreciated.

    Thanks,
    Shweta

  2. Override your TreePanel or use
    Code:
    Ext.apply(yourTreePanel, {
        store: yourStore
    });
    Overwrite will use same code inside of setStore() function.

    I didnt test it but basically it could work.

  3. #2
    Sencha Premium Member Zdeno's Avatar
    Join Date
    Nov 2009
    Location
    Prague
    Posts
    388
    Answers
    7
    Vote Rating
    17
    Zdeno will become famous soon enough

      0  

    Default


    Override your TreePanel or use
    Code:
    Ext.apply(yourTreePanel, {
        store: yourStore
    });
    Overwrite will use same code inside of setStore() function.

    I didnt test it but basically it could work.

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    shwetapro is on a distinguished road

      0  

    Default


    Hi Zdeno,
    Thanks it worked.

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..."