The event handler receives an argument of type C1GridViewSortEventArgs containing data related to this event. The following C1GridViewSortEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
SortDirection | Gets or sets the direction in which to sort the C1GridView control. |
SortExpression | Gets or sets the expression used to sort the items in the C1GridView control. |
To cancel the operation set the Cancel property of the C1GridViewSortEventArgs object to true. You must implement this event if the grid is not bound to a DataSource control.