Skip to main content
A newer version of this page is available. .

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 Gets or sets a value indicating whether the action which raised the event should be canceled. 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