1. #1
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    41
    Vote Rating
    1
    pscanlon1 is on a distinguished road

      0  

    Default Reload a tree store

    Reload a tree store


    Hello,
    Is there a way to reload a treestore without having each node fire a removeNode() event?

    I would like to clear the entire store, and then refresh the data. It does work, but it takes about 5 seconds. The first load of the store takes less than 1 second.

    Im using a buffered renderer.

  2. #2
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    41
    Vote Rating
    1
    pscanlon1 is on a distinguished road

      0  

    Default


    OK I figured it out.

    before loading the tree panel

    Code:
    treePanel.getRootNode().collapse();
    treePanel.suspendLayouts();
    after loading

    Code:
    treePanel.getRootNode().expand();
    treePanel.resumeLayouts(true);

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