Back to Devexpress

ASPxClientCardView.ColumnSorting Event

aspnet-js-aspxclientcardview-e531bd00.md

latest1.5 KB
Original Source

ASPxClientCardView.ColumnSorting Event

Enables you to prevent columns from being sorted.

Declaration

ts
ColumnSorting: ASPxClientEvent<ASPxClientCardViewColumnCancelEventHandler<ASPxClientCardView>>

Event Data

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

PropertyDescription
cancelSpecifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
columnGets 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

AllowSort

BeforeColumnSortingGrouping

Card View

ASPxClientCardView Class

ASPxClientCardView Members