ASPxGridView.BeforeColumnSortingGrouping Event
Occurs before a column is sorted or grouped.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
public event ASPxGridViewBeforeColumnGroupingSortingEventHandler BeforeColumnSortingGrouping
Event Data
The BeforeColumnSortingGrouping event's data class is ASPxGridViewBeforeColumnGroupingSortingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Column | Gets a column whose sort or group order has been changed. |
OldGroupIndex | Gets the column’s previous position among grouped columns. |
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. |
Remarks
The event parameter’s properties allow you to obtain a column’s previous sort order, and its position among sorted and grouped columns. The processed column is returned by the ASPxGridViewBeforeColumnGroupingSortingEventArgs.Column property.
See Also