ASPxClientTreeList.NodeCollapsing Event
In This Article
Fires before a node is collapsed.
#Declaration
TypeScript
NodeCollapsing: ASPxClientEvent<ASPxClientTreeListNodeEventHandler<ASPxClientTreeList>>
#Event Data
The NodeCollapsing event's data class is ASPxClientTreeListNodeEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel | Gets or sets a value indicating whether the action which raised the event should be canceled. |
html |
Provides access to the parameters associated with the ASPx |
node |
Gets the processed node’s key value. |
#Remarks
Handle the NodeCollapsing event to specify whether the node is allowed to be collapsed. To cancel this action, set the event parameter’s cancel property to true
.
To learn more, see Expanding and Collapsing Nodes.
See Also