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

fieldnumber | string | "undefined"default: null

The name or index of the field to be returned.

Returns

ApiPivotDataField[] | 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).