Sunday, February 26, 2012

Re-rendering a specific node on a CellBrowser

Hi all,

Is it possible to update the view of a specific node in a CellBrowser
tree (basically call again the render method) ?
Basically I need to update the information displayed in certain nodes
of my tree as the user inputs information in other parts of the
application or when the data in the server changes.

I have read that one can close and open again nodes (forcing re-
rendering) with the following code

for (int i = 0; i < cellBrowser.getRootTreeNode().getChildCount(); i+
+) {
cellBrowser.getRootTreeNode().setChildOpen(i, false);
}

But this only affects the nodes that are children of the root node.

I would appreciate any help on this.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment