aspnet-devexpress-dot-web-dot-aspxcardview-9bbe28ee.md
Occurs before a column is sorted or grouped.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public event ASPxCardViewBeforeColumnSortingGroupingEventHandler BeforeColumnSortingGrouping
Public Event BeforeColumnSortingGrouping As ASPxCardViewBeforeColumnSortingGroupingEventHandler
The BeforeColumnSortingGrouping event's data class is ASPxCardViewBeforeColumnSortingGroupingEventArgs. 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. |
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