'宣言 Public Property AllowSorting As AllowSortingEnum
public AllowSortingEnum AllowSorting {get; set;}
'宣言 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.
The column range sorting was renamed to AllowSortingEnum.ColumnRange for backward compatibility.
The user can clear column sorting with Ctrl+click on its header for all modes except AllowSortingEnum.ColumnRange.