Sort Data in Card View
In This Article
ASPxCardView data can be sorted by an unlimited number of columns.
To enable the 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 ASPxCardView’s ASPxGridBehaviorSettings.AllowSort option.
Note
By default, ASPx
- Manually implement the IComparable interface for column data items.
- Implement custom column sorting: set the column’s Grid
Data property toColumn Settings. Allow Sort true
, set the GridData property to Custom, and implement a custom sorting algorithm within the ASPxColumn Settings. Sort Mode Card event handler.View. Custom Column Sort