Apr 08, 2010, 3:18 PM
[CLOSED] How to send the node id as paramenter to a javascript function when the user clicks in a TreePanel?
Hi,
I need to call a javascript function sending a TreePanel node.id as paramenter.
Could you tell me please how to do that or how to get the current node id directly from the function after the user clicks.
I need to call a javascript function sending a TreePanel node.id as paramenter.
Could you tell me please how to do that or how to get the current node id directly from the function after the user clicks.
function ShowMessage(message)
{
alert(message);
}
<ext:TreePanel ID="TreePanelPortals" Title="Browse" >
<Listeners>
<Click Fn="ShowMessage" />
</Listeners>
</ext:TreePanel>