ASPxClientCardView.ColumnSorting Event

Enables you to prevent columns from being sorted.

Declaration

ColumnSorting: ASPxClientEvent<ASPxClientCardViewColumnCancelEventHandler<ASPxClientCardView>>

Event Data

The ColumnSorting event's data class is ASPxClientCardViewColumnCancelEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
column Gets the processed client column.

Remarks

The ASPxCardView supports sorting data by an unlimited number of data columns. The ColumnSorting event is raised before the ASPxCardView's data is sorted and allows you to prevent data from being sorted by the values of particular columns. The processed client column is identified by the event parameter's column property. To cancel sorting, set the cancel property to true.

See Also