-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update] showConfigPanel updated, configPanel added
- Loading branch information
Showing
5 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
sidebar_label: configPanel | ||
title: configPanel Config | ||
description: You can learn about the configPanel config in the documentation of the DHTMLX JavaScript Pivot library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Pivot. | ||
--- | ||
|
||
# configPanel | ||
|
||
### Description | ||
|
||
@short: Optional. Enables/disables the visibility of the Configuration panel in UI | ||
|
||
In UI the panel is hidden/shown by clicking the **Hide Settings** button. | ||
|
||
### Usage | ||
|
||
~~~jsx | ||
configPanel?: boolean; | ||
~~~ | ||
|
||
### Parameters | ||
|
||
The property can be set to **true** or **false**: | ||
|
||
- `true` - default, shows the Configuration panel | ||
- `false` - hides the Configuration panel | ||
|
||
## Example | ||
|
||
~~~jsx | ||
// The configuration panel is hidden on init | ||
const widget = new pivot.Pivot("#pivot", { | ||
fields, | ||
data: dataset, | ||
|
||
configPanel: false, | ||
|
||
config: { | ||
rows: ["hobbies"], | ||
columns: ["relationship_status"], | ||
values: [ | ||
{ | ||
field: "age", | ||
method: "min", | ||
}, | ||
{ | ||
field: "age", | ||
method: "max", | ||
}, | ||
], | ||
}, | ||
}); | ||
~~~ | ||
|
||
**Related articles:** | ||
- [`show-config-panel` event](/api/events/show-config-panel-event) | ||
- [`showConfigPanel()` method](/api/methods/showconfigpanel-method) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters