[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.AllowSorting

AllowSorting Property

AllowSorting

Gets or sets whether the user is allowed to sort columns using the mouse.

Declaration
public AllowSortingEnum AllowSorting { get; set; }
Remarks

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, int) method.

The column range sorting was renamed to ColumnRange for backward compatibility.

The user can clear column sorting with Ctrl+click on its header for all modes except ColumnRange.