This content has been marked as final.
Show 3 replies
-
1. Re: Expand tree node via javascript
mail.micke Nov 13, 2007 4:32 AM (in response to mail.micke)Sorry to bump this post, but I'm hoping to find out quite quickly if this is possible.
We plan to use the tree for navigation, and the current struts version of the application also uses a tree where the text for collapsed nodes is clicked to expand and really need this otherwise our users will get confused :) -
2. Re: Expand tree node via javascript
mail.micke Dec 3, 2007 5:28 AM (in response to mail.micke)Last bump
Any hint appreciated. -
3. Re: Expand tree node via javascript
meurisse Dec 3, 2007 8:04 AM (in response to mail.micke)Did you try with a nodeSelectListener?
public static void expandNode(NodeSelectedEvent event) { HtmlTree tree = (HtmlTree) event.getComponent(); Object selectedObject = tree.getRowData(); // open node TreeRowKey rowKey = (TreeRowKey) tree.getRowKey(); tree.queueNodeExpand(rowKey); ...
Joel