Re: CellTree Selecting nodes programmatically

2011-02-09 Thread Tej Sarup
Thank you Y2i! I have been able to get the nodes selected by doing what you have said. However one minor point which remains is that, is it possible to expand the tree so that the selected node is visible? Regards, t -- You received this message because you are subscribed to the Google Groups

Re: CellTree Selecting nodes programmatically

2011-02-09 Thread Y2i
You should be able to find the node by its key (in your model) and then use selectionModel.setSelected(node, true) to select the node. -- 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

CellTree Selecting nodes programmatically

2011-02-09 Thread Tej Sarup
I just wanted to know if I have a CellTree in the collapsed form and there is a selection model backing the tree. - Is there any way I can select the nodes programmatically if I know the key (used by the KeyProvider) of the nodes which have to be selected? - The individual cells in the tree chang