1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    63
    Vote Rating
    0
    cdasher is on a distinguished road

      0  

    Default Calls to TreeViewer refresh only work the first time

    Calls to TreeViewer refresh only work the first time


    I have an asynch Tree using TreeViewer and TreeContentProvider. I load the tree from the database and then add items via a form. When the call returns from the add item, I call
    viewer.refresh(tree.getSelectionModel());
    viewer.update(tree.getSelectionModel());
    if (!tree.getSelectedItem().isExpanded()){
    tree.getSelectedItem().setExpanded(true);
    }

    The FIRST time the new item is added to the tree and the parent is expanded works great. Subsequent calls and the tree never updates.

  2. #2
    Ext User
    Join Date
    Apr 2008
    Posts
    63
    Vote Rating
    0
    cdasher is on a distinguished road

      0  

    Default


    Infact if I refresh the application the new items show up in the tree, but any new items do not.

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