ASPxVerticalGrid.BeforeRowSorting Event

Occurs before a row is sorted.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.1.dll


public event ASPxVerticalGridBeforeRowSortingEventHandler BeforeRowSorting
Public Event BeforeRowSorting As ASPxVerticalGridBeforeRowSortingEventHandler

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.


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