Skip to main content
Row

PivotTable.View Property

Provides access to the display settings of a PivotTable report.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

PivotViewOptions View { get; }

Property Value

Type Description
PivotViewOptions

A PivotViewOptions object containing the PivotTable’s display settings.

Remarks

Use the View property to access an object exposing the PivotViewOptions interface. Utilize properties of the returned object to set the text to displayed in the row and column headers of a pivot table shown in compact form (PivotViewOptions.RowHeaderCaption and PivotViewOptions.ColumnHeaderCaption); specify the grand total caption (PivotViewOptions.GrandTotalCaption); show or hide the expand/collapse buttons (PivotViewOptions.ShowDrillIndicators), field headers and filter drop-down arrows (PivotViewOptions.ShowFieldHeaders); display a custom message in empty cells (PivotViewOptions.ShowMissing and PivotViewOptions.MissingCaption) and cells containing errors (PivotViewOptions.ShowError and PivotViewOptions.ErrorCaption), and define the alternative text for your PivotTable report (PivotViewOptions.AltTextTitle and PivotViewOptions.AltTextDescription).

See Also