Skip to main content
Tab

ASPxVerticalGrid.BeforeRowSorting Event

Occurs before a row is sorted.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public event ASPxVerticalGridBeforeRowSortingEventHandler BeforeRowSorting

Event Data

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

Property Description
OldSortIndex Gets a column’s (row’s for ASPxVerticalGrid) previous position among sorted columns (rows). Inherited from ASPxGridBeforeColumnGroupingSortingEventArgs.
OldSortOrder Gets a column’s (row’s for ASPxVerticalGrid) previous sort order. Inherited from ASPxGridBeforeColumnGroupingSortingEventArgs.
Row Gets a row whose sort order has been changed.

Remarks

The event parameter’s properties allow you to obtain a row’s previous sort order, and its position among sorted rows. The processed row is returned by the ASPxVerticalGridBeforeRowSortingEventArgs.Row property.

See Also