Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
740
How do I get the value of a node in a webdatatree on the client side?
posted

Infragistics45.Web.v13.2

I am inside the NodeClick event and would like to get the value of the node but node.get_value(); returns Object doesn't support property or method 'get_value'.

function wdtOrder_NodeClick(sender, eventArgs)
{
///<summary>
///
///</summary>
///<param name="sender" type="Infragistics.Web.UI.WebDataTree"></param>
///<param name="eventArgs" type="Infragistics.Web.UI.DataTreeNodeEventArgs"></param>

//Add code to handle your event here.
var oNode = eventArgs.getNode();
window.alert(oNode.get_value());
}// -->