1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    17
    Vote Rating
    -2
    asti can only hope to improve

      0  

    Default Answered: Ext.Tree.Panel Remove Nodes performance

    Answered: Ext.Tree.Panel Remove Nodes performance


    I have 350 items added to a tree node ( node.appendChild(array) ). This was so slow that i had to use Ext.defer to get the GUI responsible.

    But now i have to delete all nodes, before appending new ones.

    It takes over 10 seconds to remove the nodes with node.removeAll(). How can i improve that?

    Thanks for your suggestions.

  2. What if you remove the root node or the first parent node after the root? wouldn't it delete the child nodes also? I havent tried this. Just a guess.

  3. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,084
    Answers
    112
    Vote Rating
    95
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    What if you remove the root node or the first parent node after the root? wouldn't it delete the child nodes also? I havent tried this. Just a guess.

  4. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    17
    Vote Rating
    -2
    asti can only hope to improve

      0  

    Default


    Deleting and Recreating the parent node is much butter ( 30 msecs to remove the 350 nodes )
    Thanks

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..." hd porno faketaxi