Search results

DisplayOption API in JavaScript (ES5) Pivot Table API control

Allow options to configure the view port as either pivot table or pivot chart or both table and chart. The options available are:

  • view: Allows you to choose the view port as either pivot table or pivot chart or both table and chart.
  • primary: Allows you to set the primary view to be either pivot table or pivot chart. To use this option, it requires the property view to be Both.

Properties

primary

string

Allows you to set the primary view to be either table or chart.The available options are:

  • Table: Allows you to display the pivot table as primary view.
  • Chart: Allows you to display the pivot chart as primary view.

    To use this option, it requires the property view to be Both.

Defaults to Table

view

string

Allows you to choose the view port as either table or chart or both table and chart. The available options are:

  • Table: Allows you to render the component as tabular form.
  • Chart: Allows you to render the component as graphical format.
  • Both: Allows you to render the component as both table and chart.

    By default, Table is used as a default view in the component.

Defaults to Table