TileViewColumns.GroupColumn Property
Gets or sets the column whose values are used to combine tiles in groups.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Default | Description |
---|---|---|
GridColumn | null | A GridColumn object representing a column whose values are used to combine tiles in groups. |
Remarks
TileView supports data grouping.
Unlike the GridView, the TileView can group its records only by one column, which you set manually at design-time. End-users will not be able to undo your grouping and apply their own.
To group data by a specific column, assign it to the GroupColumn property.
All grid records with identical group column cell values will be arranged into the same tile group (a TileViewGroup object). Groups will display captions equal to cell values.
Tip
As with elements, you can set the OptionsColumn.ShowCaption property to true for the group column, so that tile groups will display their captions next to cell values.
To customize group captions, access the AppearanceGroup section of your view. Additionally, you can set the distance between the neighboring tile groups by using the TileViewItemOptions.IndentBetweenGroups property.
To adjust the location of the group header relative to the group items, use the TileViewItemOptions.GroupTextToItemsIndent and TileViewItemOptions.GroupTextOffset options, accessible through the TileView.OptionsTiles property.