Skip to main content

TcxGridBandRow Class

Represents a row in a band.

Declaration

TcxGridBandRow = class(
    TObject
)

Remarks

The position of a column within a band in a Banded Table View is determined by two coordinates: ColIndex and RowIndex. The RowIndex references the band row in which the column caption is displayed. The row index also affects the position of data cells in this column and the footer summary result position.

Every row in a band is represented by the TcxGridBandRow class. You can define the horizontal position of a banded column within a row by setting the ColIndex property. The row’s Items property provides an indexed access to columns that belong to the current row. Visible columns can be accessed via the VisibleItems property.

You can access a specific row of a band via the TcxGridBand.Rows property of the TcxGridBandRows class. TcxGridBandRows provides the Items and VisibleItems properties that support collections of all and visible rows respectively.

The following image shows several columns arranged into 2 band rows within a single band:

The RowIndex property value is 0 for the Name, Fixed Date and Created Date columns, and 1 for the Project, Type and Status columns. The ColIndex property value for the Name and Project columns is 0, 1 for the Fixed Data and Type columns and 2 for the Created Date and Status columns.

Inheritance

TObject
TcxGridBandRow
See Also