FlexGrid for WinForms
AfterSort Event



Fires after a column is sorted by a click on a column header.
Syntax
'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
Remarks

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.

Requirements

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

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback