Skip to main content
A newer version of this page is available. .

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 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.

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