GetDataFields
function GetDataFields(field: number | string | "undefined" = null): ApiPivotDataField[] | ApiPivotDataField | "null"
Description
Returns an collection that represents either a single PivotTable data field or a collection of all visible data fields.
Parameters
- field
number | string | "undefined"
null The name or index of the field to be returned.
Returns
ApiPivotDataField[] | ApiPivotDataField | "null"