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

ASPxGridView.DetailRowExpandedChanged Event

Occurs after a master row has been expanded or collapsed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public event ASPxGridViewDetailRowEventHandler DetailRowExpandedChanged

Event Data

The DetailRowExpandedChanged event's data class is ASPxGridViewDetailRowEventArgs. The following properties provide information specific to this event:

Property Description
Expanded Gets whether the row has been expanded or collapsed.
VisibleIndex Gets a value that identifies the master row whose expanded state has been changed.

Remarks

The event parameter’s ASPxGridViewDetailRowEventArgs.VisibleIndex property identifies the master row whose detail row has been displayed or hidden. To return whether the row has been expanded or collapsed, use the ASPxGridViewDetailRowEventArgs.Expanded property.

Note that the DetailRowExpandedChanged event is not fired when the WebDataDetailRows.ExpandRowByKey method is called.

See Also