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

Sort Data

ASPxGridView data can be sorted by an unlimited number of data columns.

To enable this sorting feature, set the column’s GridDataColumnSettings.AllowSort property to True. If this property is set to Default, the column’s behavior is controlled by ASPxGridView’s ASPxGridBehaviorSettings.AllowSort option.

Note

By default, ASPxGridView does not sort a column if its data items do not implement the IComparable interface. To sort such columns, do one of the following.

Concepts

Member Table

Task-Based Help