| C1.Web.Wijmo.Controls.C1GridView Namespace > C1GridView Class : Sorting Event |
'Declaration<C1DescriptionAttribute(Key="C1Grid.Sorting", Description="Occurs when the hyperlink to sort a column is clicked, but before the C1GridView control handles the sort operation.")> <C1CategoryAttribute("Action")> Public Event Sorting As C1GridViewSortEventHandler
[C1Description(Key="C1Grid.Sorting", Description="Occurs when the hyperlink to sort a column is clicked, but before the C1GridView control handles the sort operation.")] [C1Category("Action")] public event C1GridViewSortEventHandler Sorting
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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2