GetPivotItems
function GetPivotItems(index: number = null): ApiPivotItem[] | ApiPivotItem | "null"
Description
Returns an object that represents either a single PivotTable item (a PivotItem object) or a collection of all the visible and hidden items (a PivotItems object) in the specified field.
Parameters
- index
number
null
Returns
ApiPivotItem[] | ApiPivotItem | "null"