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

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