ComponentOne FlexGrid for WinForms
AllowSorting Property (C1FlexGridBase)

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AllowSorting Property
Gets or sets whether the user is allowed to sort columns using the mouse.
Public Property AllowSorting As AllowSortingEnum
public AllowSortingEnum AllowSorting {get; set;}

When the grid is used in bound mode, the sorting is performed by the DataSource object. If the data source object does not support sorting, this property has no effect.

In unbound mode, you can also sort data using the Sort(SortFlags,Int32) method.

See Also


C1FlexGridBase Class
C1FlexGridBase Members