||View All MessagesBack to WebFX|
Sent: October 20, 2004
Subject: Re:Xtree node selection problem
I’ve read the post about selecting a node of the XTree directly (October 7):
However, I’ve added this little line to the included XTree Demo to test it:
<input type="button" onclick="webFXTreeHandler.select("webfx-tree-object-19");" style="width: 80px;" value="Select 2" />
…which should select the 2nd folder upon clicking, but when I click the “alert(tree.getSelected().id);” button afterwards, it still returns me the last manually selected node.
Could anyone please tell me what I’m doing wrong?