Interface WidgetsPanelConfig
Widgets panel configuration
Properties
actions
actions?:
object
Configuration for actions available on all widgets in the panel, such as downloading each widget's data.
Type declaration
actions.downloadCsvdownloadCsv?:
objectConfiguration for the "Download as CSV" action on all widgets in the panel, which adds an item to each widget's header menu that exports the widget's underlying data as a CSV file.
Example
Enable CSV download for every widget in a dashboard:
const dashboardConfig: DashboardConfig = { widgetsPanel: { actions: { downloadCsv: { enabled: true, }, }, }, };
downloadCsv.enabledenabled?:
booleanWhether the "Download as CSV" action is enabled for all widgets in the panel.
Default
false
actions.downloadExceldownloadExcel?:
objectConfiguration for the "Download as Excel" action on all widgets in the panel, which adds an item to each widget's header menu that exports the widget's underlying data as an Excel (XLSX) file.
Example
Enable Excel download for every widget in a dashboard:
const dashboardConfig: DashboardConfig = { widgetsPanel: { actions: { downloadExcel: { enabled: true, }, }, }, };
downloadExcel.enabledenabled?:
booleanWhether the "Download as Excel" action is enabled for all widgets in the panel.
Default
false
editMode
editMode?:
EditModeConfig
Edit mode configuration.
responsive
responsive?:
boolean
If true, adjust layout based on available width of widgets panel.
If not specified, the default value is false.