Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridGroupRow Class

A group row in Table and Banded Table Views.

#Declaration

Delphi
TcxGridGroupRow = class(
    TcxCustomGridRow
)

#Remarks

A group row in a Table View or Banded Table View displays information about its group. Groups are created when you group data by one or more columns. A group row displays a group column value and, optionally, group summaries (summaries calculated against records of this group).

To access visible rows (i.e. not hidden under collapsed group rows), see the View’s ViewData.Rows collection. This collection provides access to all rows currently visible (data rows and group rows). Group rows can be expanded/collapsed using the Expanded property and the Expand and Collapse methods.

Every row in a View is identified by two indexes. The Index property determines its visual position within a View. It gets changed when you sort or group etc. The RecordIndex property refers to its position within a data source and this value remains the same as when the View was created. A group row does not have its own unique record index. The RecordIndex of a group row returns the record index of its first underlying data row.

Data rows within a View consist of the TcxGridDataRow class and its descendants.

Refer to the TcxCustomGridRecord for more details on presenting rows using ViewData.

#Inheritance

See Also