GetPivotFields
function GetPivotFields(field: string | number = null): ApiPivotField[] | ApiPivotField | ApiPivotDataField | "null"
Description
Returns an collection that represents either a single PivotTable field or a collection of both the visible and hidden fields in the PivotTable report.
Parameters
- field
string | number
null The name or index of the field to be returned.
Returns
ApiPivotField[] | ApiPivotField | ApiPivotDataField | "null"