PivotCube Visual Guide Overview

The dimension row toolbar (TPVRowToolbar)

General

Please see the visual guide to the Dimension Toolbar as the dimension row toolbar has the same properties as the Dimension Toolbar.  The most important property is the Map property, which determines the source of all dimension items which can be displayed on this toolbar.  

The only difference between TPVRowToolbar and TPVDimToolbar  is that the order of rows in TPVRowToolbar will determine how data is displayed in the Pivot Grid.  To know the order of rows currently displayed on the dimension row toolbar, check the Rows property of the linked TPivotMap in the Map property of the toolbar, i.e.

TPVRowToolbar.Map > TPivotMap.Rows -> TMapDimensionCollection

To add an item to the toolbar, you can use the following code:

var
  AItem: TMapDimensionCollectionItem;
begin
  AItem := Pivotmap1.Rows.Add;
  AItem.Dimension := Pivotmap1.Dimensions[1];
  Pivotmap1.RefreshData(True);
end;

PivotCube Visual Guide rev. 2004.02.26