C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AllowSorting Property |
'Declaration
<C1DescriptionAttribute("Gets or sets whether the user is allowed to sort columns using the mouse.")> <DefaultValueAttribute()> <C1CategoryAttribute("Behavior")> Public Property AllowSorting As AllowSortingEnum
'Usage
Dim instance As C1FlexGridBase Dim value As AllowSortingEnum instance.AllowSorting = value value = instance.AllowSorting
[C1Description("Gets or sets whether the user is allowed to sort columns using the mouse.")] [DefaultValue()] [C1Category("Behavior")] public AllowSortingEnum AllowSorting {get; set;}
[C1Description("Gets or sets whether the user is allowed to sort columns using the mouse.")] [DefaultValue()] [C1Category("Behavior")] public: property AllowSortingEnum AllowSorting { AllowSortingEnum get(); void set ( AllowSortingEnum value); }
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.
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