Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Introducedin
8.4
8.4
Description

Excerpt

Sets or returns the displayed name of the PivotTable field.

Signature
C#
C#
 public System.String DisplayName{ get; set; }
Signature
vb.net
vb.net
Public Property DisplayName() As String
Remarks

Each PivotTable field must have a unique display name. If the display name of a row or column label is not the name of its source field, the display name of the source field that the label was created from will change to match the row or column label name. This only affects the display name of the source field as seen in Excel. The underlying name of the source field, which is pulled from the header names of the columns in the data source, will not be affected.

Changing the DisplayName for a ColumnLabel, RowLabel, or PageField will also change the displayed name for the SourceField. This is the same as the Excel behavior.

This cannot be set on a ValuesLabel. The default value returned by a ValuesLabel is "Values".