PivotTable.Layout Property
Provides access to options used to adjust the PivotTable report layout.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v17.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
PivotLayout | A PivotLayout object containing layout settings for a pivot table. |
Remarks
Use the Layout property to get access to the PivotLayout object, which allows you to adjust the PivotTable report layout by displaying the pivot table in compact, outline, or tabular form (PivotLayout.SetReportLayout), display or hide subtotals (PivotLayout.ShowAllSubtotals) and grand totals for rows (PivotLayout.ShowRowGrandTotals) and columns (PivotLayout.ShowColumnGrandTotals), insert a blank line after items of the outer row fields (PivotLayout.InsertBlankRows), etc.
For examples on how to modify the PivotTable layout, refer to the Pivot Table Examples section.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Layout property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.