The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientGridView.DetailRowCollapsing Event

Fires before a detail row is collapsed.

Declaration

DetailRowCollapsing: ASPxClientEvent<ASPxClientGridViewRowCancelEventHandler<ASPxClientGridView>>

Event Data

The DetailRowCollapsing event handler receives an argument of the ASPxClientGridViewRowCancelEventArgs type. 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