Gets or sets a value that determines whether columns can be moved on the client.
Namespace:
C1.Web.UI.Controls.C1GridViewAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[C1CategoryAttribute("Category.ClientSide")] [JsonAttribute(true, true, false)] [DefaultValueAttribute(false)] [LayoutAttribute(LayoutType.Behavior)] public bool AllowColMoving { get; set; } |
Visual Basic |
---|
<C1CategoryAttribute("Category.ClientSide")> _ <JsonAttribute(True, True, False)> _ <DefaultValueAttribute(False)> _ <LayoutAttribute(LayoutType.Behavior)> _ Public Property AllowColMoving As Boolean Get Set |
Field Value
The default value is False.Remarks
This property allows your end users to rearrange the order of the columns on the client.
This property only works if you set AutoGenerateColumns to False.
You should provide code in the ColumnMoved event.