Hi.. i need to call a javascript function after the node is collapsed/expanded. Is there a way to do it?
Hi,
I guess you can check out these handlers:
AfterRowExpandedHandler, BeforeRowCollapsedHandler. Also you can reference the client side object model of the grid on the following link:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/WebGrid_Client_Side_Events_CSOM.html
Client side events:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/WebGrid_CSOM.html
Is there a way to do this?
No.. I want something like AfterNodeCollapsed/AfterNodeExpanded. Those events that you have mentioned are fired before expand/collapse. Correct me if i am wrong. Thanks.
Yes there is such a way, just register a handler like this
<ClientSideEvents NodeExpand="yourHandlerFunction" NodeCollapse="yourHandlerFunction" />
and you are ready.