WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Xtree node selection problem, Kristof, October 20, 2004
     Re:Xtree node selection problem, Kristof, October 21, 2004

Subject: Xtree node selection problem From: Kristof Date: October 20, 2004

Hi,

 

I’ve read the post about selecting a node of the XTree directly (October 7):

 

“webFXTreeHandler.select(your_child_name)”

 

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?

 

TIA,

Kristof




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX