*weird* to me. For instance if you want to open a node, you need to do
it through teh parent, etc... There are methods available for getting
all this straight, but they are in the class CellTreeNodeView, which
is just not available, again I don't understand why. All we need is
this class.
On Mar 1, 5:38 am, xwise <srobo...@gmail.com> wrote:
> I can't seem to find any good information on how to refresh a celltree
> so that selected cells can be displayed as "selected" somehow. I've
> tried refreshing the listDataProvider that's used in getNodeInfo but
> when I make the dataProvider a class variable (instead of a local
> variable as shown in the examplehttp://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html?o...)
> the tree behaves badly (clicking a child causes the tree to be
> replaced by the content of that child, instead of just opening that
> child). Obviously I'm doing something wrong.
> I also tried programmatically collapsing and reopening the nodes but I
> don't know how to get the nodes. I can get the root node using
> CellTree.getRootTreeNode() but then how do I get the children of these
> children as TreeNode objects?
> Since I must be doing something wrong and probably haven't really
> figured out how to use the CellTree class properly, could someone
> provide a small example of a cell tree that updates it's children (for
> example when you click a node it becomes bold).
>
> Thanks a lot.
--
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