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,064
    Answers
    110
    Vote Rating
    92
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar