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.
When using DashboardById or a dashboard model loaded with useGetDashboardModel and translated by dashboardModelTranslator.toDashboardProps(), each default below will be derived from the current user's permissions on that dashboard, if the Sisense Fusion instance provides it. Otherwise the documented default will be used. Explicit configuration values have the highest precedence, and will override any defaults.
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, or the user's permission to export widget data on a Fusion dashboard
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, or the user's permission to export widget data on a Fusion dashboard
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.