Public Method Reports API

setOptions()

Sets options on the report. Used to modify or update the report's behavior after initialization.

Important Only applicable to the sessions-summary-by-group and activity-summary-by-group report.

Arguments

  • options object

    Object containing options to configure UI and behaviour. Contains one or more of the below properties.

    • always_show_group_ancestors boolean
      Flag that specifies whether or not to display the ancestor rows for the current group.
    • columns array[object]
      A definition of the columns that should be shown in the UI.
    • user_columns array[object]
      A definition of the user-level columns that should be shown in the UI.

Return value

None (undefined).

Was this article helpful?