GridOptionsBehavior.AllowPartialGroups Property

Gets or sets whether or not to hide group rows if they contain only a single data row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean AllowPartialGroups { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property AllowPartialGroups As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

A value that specifies whether or not to hide group rows if they contain only a single data row. The DefaultBoolean.Default property is equivalent to False.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowPartialGroups
AdvBandedGridView
.OptionsBehavior.AllowPartialGroups
BandedGridView
.OptionsBehavior.AllowPartialGroups
GridView
.OptionsBehavior.AllowPartialGroups

Remarks

The AllowPartialGroups property allows you to save screen space by hiding those group rows that contain a single data row. In these cases, the data rows will be displayed in place of group rows.

Data Grid - Grouping - Partial Groups

When the AllowPartialGroups mode is enabled, the following takes place.

If the GridOptionsBehavior.AllowFixedGroups option is enabled, the AllowPartialGroups property is not in effect and group rows are never hidden.

NOTE

In AllowPartialGroups mode, data grouping by multiple columns is not supported.

See Also