Skip to main content

ASPxClientVerticalGrid.RowSorting Event

Enables you to prevent rows from being sorted.

Declaration

RowSorting: ASPxClientEvent<ASPxClientVerticalGridRowCancelEventHandler<ASPxClientVerticalGrid>>

Event Data

The RowSorting event's data class is ASPxClientVerticalGridRowCancelEventArgs. 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.
row Gets the processed client row.

Remarks

The ASPxVerticalGrid supports sorting data by an unlimited number of rows. The RowSorting event is raised before the ASPxVerticalGrid’s data is sorted and allows you to prevent data from being sorted by the values of particular rows. The processed client row is identified by the event parameter’s row property. To cancel sorting, set the cancel property to true.

See Also