Gets or sets a value that determines whether columns can be sized on the client.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[C1CategoryAttribute("Category.ClientSide")]
[DefaultValueAttribute(false)]
[LayoutAttribute(LayoutType.Behavior)]
[JsonAttribute(true, true, false)]
public bool AllowColSizing { get; set; }
Visual Basic
<C1CategoryAttribute("Category.ClientSide")> _
<DefaultValueAttribute(False)> _
<LayoutAttribute(LayoutType.Behavior)> _
<JsonAttribute(True, True, False)> _
Public Property AllowColSizing As Boolean
	Get
	Set

Field Value

The default value is False.

Remarks

This property allows column sizing on the client. For this property to work correctly you need to set the width of the component to 0px and optionally set the width of each column using the Property builder.

See Also