Skip to main content
Row

PivotField.SourceName Property

Gets the name of the pivot field as it appears in the PivotTable’s source data.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

string SourceName { get; }

Property Value

Type Description
String

A String value that specifies the name of the field in the original source data.

Remarks

By default, PivotTable fields get their names from the original source data. For example, if you create a pivot table based on a cell range in a worksheet, the labels of the corresponding columns will be used as the field names. To change the default name of a particular PivotTable field, use the PivotField.Name property.

To rename a field located in the data area of your report, use the PivotDataField.Name property.

See Also