Skip to main content

BootstrapCardView.BeforeColumnSorting Event

Occurs before a column is sorted.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public event BootstrapCardViewBeforeColumnSortingEventHandler BeforeColumnSorting

Event Data

The BeforeColumnSorting event's data class is BootstrapCardViewBeforeColumnSortingEventArgs. 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. Inherited from ASPxCardViewBeforeColumnSortingGroupingEventArgs.
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 columns. The processed column is returned by the BootstrapCardViewBeforeColumnSortingEventArgs.Column property.

See Also