1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    4
    Vote Rating
    0
    jescot is on a distinguished road

      0  

    Question refresh async tree after uptade

    refresh async tree after uptade


    Hello,

    I have an async tree with a context menu to add, edit and delete items. These actions calls a service and when they finish I want to refresh my tree.
    My problem is that i'm not able to show my tree expandes as it was with the changes made.
    I'm trying something like this:

    private void refresh(TreeItem parent){
    loader.loadChildren((StringModelData)parent.getData());
    tree.expandPath(parent.getPath());
    }

    but it takes no effect.

    Could someone help me? Thanks in advance.

    Juan.

  2. #2
    Ext User
    Join Date
    Jun 2008
    Posts
    4
    Vote Rating
    0
    jescot is on a distinguished road

      0  

    Default This post should be on help forum

    This post should be on help forum


    I want to move this post to Help forum but i don't know how, sorry...

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default


    mmm. getData() is deprecated. Try with getModel()

Thread Participants: 1

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