1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    33
    Vote Rating
    0
    charles.bourasseau is on a distinguished road

      0  

    Default Refresh Tree Store

    Refresh Tree Store


    Hi,

    how to refresh a Tree Store ?

    I tried to do like that:

    Code:
    Ext.getStore('myStore').setRootNode({child: []});
    And then the Store will request the Server to have children but sometimes it gives me a child in double.
    In my Tree I get something like:
    Code:
    child1
    child2
    child1
    and there is also a javascript error:

    Code:
    Uncaught TypeError: Cannot read property 'internalId' of undefined
    Ext.define.updateIndexes     ext-all-debug.js:61588
    Ext.define.onAdd             ext-all-debug.js:61513
    Base.implement.callParent      ext-all-debug.js:3728
    Is it a bug or am I doing something wrong ?

  2. #2
    Sencha User
    Join Date
    May 2010
    Posts
    48
    Vote Rating
    1
    terrycursh is an unknown quantity at this point

      0  

    Default


    Maybe you have the same id in your tree node.
    I have met this problem before,just the same node id caused.

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Posts
    33
    Vote Rating
    0
    charles.bourasseau is on a distinguished road

      0  

    Default


    I figure out why it does not worked. I was doing 2 times the refresh...

    Thanks.

Thread Participants: 1

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