A newer version of this page is available. Switch to the current version.

ASPxClientGridView.DetailRowCollapsing Event

Fires before a detail row is collapsed.


DetailRowCollapsing: ASPxClientEvent<ASPxClientGridViewRowCancelEventHandler<ASPxClientGridView>>

Event Data

The DetailRowCollapsing event's data class is ASPxClientGridViewRowCancelEventArgs. 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. Inherited from ASPxClientCancelEventArgs.
visibleIndex Gets the processed row's visible index.


Handle the DetailRowCollapsing event to specify whether collapsing the detail row is allowed. The detail row currently being processed is identified by its visible index using the ASPxClientGridViewRowCancelEventArgs.visibleIndex property. To cancel this action, set the event parameter's cancel property to true.

See Also