Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Sets or returns the ordering of the PivotTableField using an OrderingType. This only applies to Row Labels and Column Labelshas an affect on row labels and column labels.

Signature
C#
C#
 public SortOptions.OrderingType Ordering{ get; set; }

...

Remarks

ExcelWriter does not have the ability to perform the actual sorting action. This is handled by Excel when the output is opened in Excel and the pivot table PivotTable is refreshed. This property determines how Excel sorts the values for a particular PivotTable field.