Back to Devexpress

GridOptionsBehavior.AllowPartialGroups Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-9451d8b4.md

latest4.8 KB
Original Source

GridOptionsBehavior.AllowPartialGroups Property

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

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowPartialGroups
GridView

.OptionsBehavior .AllowPartialGroups

|

Remarks

The AllowPartialGroups property allows you to hide group rows that contain a single data row, and thus save screen space. In these cases, the control displays the data rows in place of group rows.

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

Notes

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

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

  • In master-detail mode, the grid does not display the thick separators above and below master rows when details are expanded.

  • If you fix a column and the AllowPartialGroups property is active, the fixed column is displayed to the right of the grouped column.

See Also

AllowFixedGroups

AlignGroupSummaryInGroupRow

Data Grouping

Summaries

GridOptionsBehavior Class

GridOptionsBehavior Members

DevExpress.XtraGrid.Views.Grid Namespace