Skip to main content

configPanel

Description

Optional. Controls the visibility of the Configuration panel in UI

In UI the panel is hidden/shown by clicking the Hide Settings button.

Usage

configPanel?: boolean;

Parameters

The property can be set to true or false:

  • true - default, shows the Configuration panel
  • false - hides the Configuration panel

Example

// The configuration panel is hidden on init
const table = new pivot.Pivot("#root", {
fields,
data: dataset,
configPanel: false,
config: {
rows: ["hobbies"],
columns: ["relationship_status"],
values: [
{
field: "age",
method: "min"
},
{
field: "age",
method: "max"
}
]
}
});

Related sample: Pivot 2.0: Toggle visibility of configuration panel

Related articles: