Enables you to prevent columns from being sorted.
The ColumnSorting event's data class is ASPxClientGridViewColumnCancelEventArgs. The following properties provide information specific to this event:
|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.|
The ASPxGridView supports sorting data by an unlimited number of data columns. The ColumnSorting event is raised before the ASPxGridView'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.