Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IPivotField Interface / AutoSort Method
Required SortOrder. The sort order.
The name of the sort key field. You must specify the unique name (as returned from the PivotField.SourceName property) and not the displayed name.
In This Topic
    AutoSort Method
    In This Topic
    Establishes automatic field-sorting rules for PivotTable reports.
    Syntax
    void AutoSort( 
       System.Nullable<SortOrder> order,
       System.string field
    )

    Parameters

    order
    Required SortOrder. The sort order.
    field
    The name of the sort key field. You must specify the unique name (as returned from the PivotField.SourceName property) and not the displayed name.
    See Also