C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AfterSort Event |
'Declaration
<C1DescriptionAttribute("Fires after a column is sorted by a click on a column header.")> Public Event AfterSort As SortColEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As SortColEventHandler AddHandler instance.AfterSort, handler
[C1Description("Fires after a column is sorted by a click on a column header.")] public event SortColEventHandler AfterSort
[C1Description("Fires after a column is sorted by a click on a column header.")] public: event SortColEventHandler^ AfterSort
This event only fires if the sorting was caused by a click on a column header cell (see the AllowSorting property). It does not fire after sorting with the Sort(SortFlags,Int32) method.
This event is useful if you want to update user interface elements to reflect the new sorting. To prevent certain columns from being sorted, or to alter their default sorting order, use the Column.AllowSorting or handle the BeforeSort event.
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