All documentation
  • API Reference for older versions
  • 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/TypeDescription
    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"
        }
      ],
    }

    Live example

    See also

    ReportObject