Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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