PivotDataField.Name Property
Gets or sets the name of the data field.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Property Value
Type | Description |
---|---|
String | A String value that specifies the name of the data field. |
#Remarks
When you add a pivot field to the data area, it automatically gets the default name consisting of the used summary function and original field name (e.g., “Sum of Sales”, or “Count of Units”). To change this default name, use the Name property.
Note that you can also use the PivotDataFieldCollection.Add method overload with the name parameter to specify the custom name for the data field added to the report.
Important
When renaming a field, make sure that the specified name is not equal to an existing Pivot