Toolbars
Toolbars
- Toolbars enhance user interactivity by providing quick access to actions-ensure that all commands referenced in the toolbar are properly defined in the Commands section to avoid missing functionality.
- You can extend
toolbars.jsonand pass the reference name within the component props to use the default toolbar. Alternatively, you can define a custom toolbar and commands directly in your widget configuration file.
"toolbars": [
{
"name": "toolbar",
"commands": [
{
"name": "dataGroup",
"isMenu": false
},
{
"name": "expandAll",
"isMenu": false
},
{
"name": "csvExport",
"isMenu": false
},
{
"name": "exportExcel",
"isMenu": false
}
]
}
]
Toolbar properties
| Prop Name | Description | Data Type | Required | Example |
|---|---|---|---|---|
name | Unique identifier for the toolbar. | string | yes | "toolbar_issue_details" |
commands | References to commands displayed in the toolbar. | array string | no | ["dataGroup", "csvExport"] |