ASPxClientGridView.DetailRowCollapsing Event

Fires before a detail row is collapsed.

Declaration

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 Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
visibleIndex Gets the processed row's visible index.

Remarks

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