✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Type alias ComposedDashboardResult<D>
ComposedDashboardResult: <
D
>object
Result of the useComposedDashboard hook.
# Type parameters
Parameter |
---|
D extends ComposableDashboardProps | DashboardProps |
# Type declaration
# dashboard
dashboard: D
The composable dashboard object containing the current state of the dashboard.
# setFilters
setFilters: (filters
) => void
API to set filters on the dashboard.
# Parameters
Parameter | Type |
---|---|
filters | FilterRelations | Filter [] |
# Returns
void
# setWidgetsLayout
setWidgetsLayout: (newLayout
) => void
API to set the layout of the widgets on the dashboard.
# Parameters
Parameter | Type |
---|---|
newLayout | WidgetsPanelLayout |
# Returns
void