[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPivotField.AutoSort

AutoSort Method

AutoSort(SortOrder?, string)

为数据透视表报告建立自动字段排序规则。

Declaration
void AutoSort(SortOrder? order, string field = null)
Parameters
Type Name Description
SortOrder? order

必需的 SortOrder。排序顺序。

string field

排序键字段的名称。必须指定唯一的名称(从 PivotField.SourceName 属性返回的名称)而不是显示的名称。