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

fieldstring | numberdefault: null

The name or index of the field to be returned.

Returns

ApiPivotField[] | ApiPivotField | ApiPivotDataField | "null"

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).