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

TcxGridBandedTableView.Bands Property

Provides indexed access to the bands within a Banded Table View.

#Declaration

Delphi
property Bands: TcxGridBands read; write;

#Property Value

Type
TcxGridBands

#Remarks

Use the Bands property to View the collection of bands belonging to the current View. Each band provides access to all its columns via the Band.Columns property. It also publishes the Band.Options property which contains options controlling band behavior. The Band.Styles property allows you to define appearance of the band elements.

Delphi
...
with btvItems.Bands.Add do
begin
  Caption := 'Additional Info';
  Index := 1;
  Width := 200;
  Options.Moving := False;
  btvItemsDESCRIPTION.Position.BandIndex := Index;
  btvItemsRESOLUTION.Position.BandIndex := Index;
  btvItemsRESOLUTION.Position.RowIndex := 1;
  Columns[0].SortOrder := TcxDataSortOrder(soAscending);
end;
...
See Also