PivotLocation.DataRange Property | Office File API | DevExpress Documentation Skip to main content
Row

PivotLocation.DataRange Property

Gets the cell range that contains the data area of the PivotTable report.

Namespace: DevExpress.Spreadsheet

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

Declaration

CellRange DataRange { get; }

Property Value

Remarks

The data area is highlighted in the following image.

PivotLocation_DataRange

To get a cell range that contains the entire pivot table including the page area, use the PivotLocation.WholeRange property. To obtain the cell range occupied by the pivot table disregarding the page area, use the PivotLocation.Range property. The PivotLocation.RowRange, PivotLocation.ColumnRange and PivotLocation.PageRange properties return cell ranges containing the PivotTable’s row area, column area and page area, respectively.

See Also
Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings