All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CrossTabLayoutOptions.RowTotalsPosition Property

Specifies the position of the row totals.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

[DefaultValue(TotalsPosition.AfterData)]
public virtual TotalsPosition RowTotalsPosition { get; set; }

Property Value

Type Default Description
TotalsPosition

AfterData

The row totals position.

Property Paths

You can access this nested property as listed below:

Object Type Path to RowTotalsPosition
XRCrossTab
.LayoutOptions.RowTotalsPosition

Remarks

The XRCrossTab control calculates the following automatic totals:

  • Row/column totals - against outer row/column fields (the RowFields/ColumnFields collection).
  • Row/column grand totals - against all the rows/columns.

Use the RowTotalsPosition property to move row totals and row grand totals. Use the ColumnTotalsPosition property to move column totals and column grand totals.

At design time, you can set the RowTotalsPosition property in the Cross Tab’s smart tag or in the Properties window’s LayoutOptions group.

This property provides the following values:

  • AfterData (Default)

    Row totals are displayed after the row field values. Row grand totals are displayed in the last row.

  • BeforeData

    Row totals are displayed before the row field values. Row grand totals are displayed before data and row totals.

If you want to hide row totals or row grand totals, select any cell in the row and disable the XRCrossTabCell.RowVisible property.

See Also