API reference
Table of contents

CustomFieldObject

This object allows setting custom fields for Excel export or storing some additional information. Custom fields are not shown on the grid, but they will be displayed in the exported Excel table.

Properties

{
  name: string,
  value: string
}
Property/Type Description
name
String
The custom field's name.
value
String
The custom field's value.

Example

Example of setting custom fields in the report:

report: {
  // Other report props
  customFields: [
    {
      name: "Field1",
      value: "Value1"
    },
    {
      name: "Field2",
      value: "Value2"
    }
  ],
}

See a live demo on JSFiddle.

See also

ReportObject