I had a similar problem. I wanted to refresh a part of the tree when i
add/delete/update new items of the CellTree. To solve this, I used a
map in my TreeModel to store the NodeInfo of a tree item (in my case a
category). Thats enabled me to acces the DataProvider of a tree item
in the Activity class. Here is the snippet of the Activity class code:

public void refreshCategoryTree(Long categoryId) {
        DefaultNodeInfo<CategoryProxy> parent =
this.categoryIdToNodeInfo.get(categoryId);
        if ( parent != null ) {
                ProvidesKey<CategoryProxy> provider = parent.getProvidesKey();
                if ( provider instanceof CategoryAsyncDataProvider ) {
                        ((CategoryAsyncDataProvider)
provider).updateRowsFromDatabase();
                }
        }
}

I dont know if this helps for refreshing the selected status, but it
will refresh a part of a cell tree.

On 13 Jun., 23:33, DevJodie <sharmadipt...@gmail.com> wrote:
> I'm also facing a similar situation. Has anyone already found a solution to 
> this
> problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to