ASPxCardView.BeforeColumnSorting Event
Occurs before a column is sorted or grouped.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Event Data
The BeforeColumnSorting event's data class is ASPxCardViewBeforeColumnSortingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Column | Gets a column whose sort or group order has been changed. Inherited from ASPxCardViewBeforeColumnSortingGroupingEventArgs. |
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 ASPxCardViewBeforeColumnSortingGroupingEventArgs.Column property.
See Also