[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.BeforeSort

BeforeSort Event

Fires before a column is sorted by a click on a column header.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public event SortColEventHandler BeforeSort
Returns
Type Description
SortColEventHandler Fires before a column is sorted by a click on a column header.
Remarks

This event only fires if the sorting was caused by a click on a column header. It does not fire before sorting with the Sort(SortFlags, int) method.

This event is useful when you want to prevent the user from sorting certain columns or to specify custom sorting orders for specific columns. You may do so by modifying the value of the Order parameter.