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

The SortOptions class contains all of the sorting options for a PivotTableField.

Signature
C#
C#
 public sealed class SortOptions

...

Example
Code Block
csharp
csharp
titleC#

          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.CreateOpen("template.xlsx");
          SortOptions itemsoptions = wb[0].PivotTables[0].ColumnLabels[0].SortOptions;
        
Code Block
vbnet
vbnet
titlevb.net

          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.CreateOpen("template.xlsx")
          Dim paloptions As SortOptions = wb[(0]).PivotTables[(0]).ColumnLabels[(0]).SortOptions;
        
Properties

Name

Description

Ordering

Excerpt Include
EW8:SortOptions.OrderingEW8:
SortOptions.Ordering
nopaneltrue

OrderingType

Excerpt Include
EW8:SortOptions.OrderingTypeEW8:
SortOptions.OrderingType
nopaneltrue