Gets or sets a value that determines whether grouping is enabled.

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

Syntax

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

Field Value

The default value is False.

Remarks

This property allows your end users to drag column headers into the grouping area of the grid. This property only works if AutoGenerateColumns is set to False and AllowColMoving is True. You should provide code in the GroupColumnMoved event.

See Also