AddDataField

function AddDataField(field: number | string = null): ApiPivotDataField

Description

Adds a data field to a PivotTable report.

Parameters

fieldnumber | stringdefault: null

The index number or name of the field.

Returns

ApiPivotDataField

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).