customizeFluidLayout()
Home > @gooddata/sdk-ui-dashboard > IDashboardLayoutCustomizer > customizeFluidLayout
IDashboardLayoutCustomizer.customizeFluidLayout() method
Register customization of the fluid layout that is used to render the dashboard.
Signature:
customizeFluidLayout(fun: FluidLayoutCustomizationFn): IDashboardLayoutCustomizer;
Parameters
Parameter | Type | Description |
---|---|---|
fun | FluidLayoutCustomizationFn |
Returns:
Remarks
At this point, you can register a function which will be called after dashboard component loads the dashboard and before it starts initializing the layout itself. The function will be called with two arguments:
- The actual dashboard layout - Customizer that allows the plugin to add new sections or section items
Your customization function may introspect the original layout and then register its customizations.
If the dashboard is not rendering fluid layout, then the registered function will not be called.