Gets or sets a value that determines whether sorting is enabled.
Namespace:
C1.Web.UI.Controls.C1GridViewAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[C1CategoryAttribute("Category.Sorting")] [DefaultValueAttribute(false)] [LayoutAttribute(LayoutType.Behavior)] [JsonAttribute(true, true, false)] public virtual bool AllowSorting { get; set; } |
Visual Basic |
---|
<C1CategoryAttribute("Category.Sorting")> _ <DefaultValueAttribute(False)> _ <LayoutAttribute(LayoutType.Behavior)> _ <JsonAttribute(True, True, False)> _ Public Overridable Property AllowSorting As Boolean Get Set |
Field Value
The default value is False.Remarks
Set this property to True to enable sorting.