IFluidLayoutCustomizer
Home > @gooddata/sdk-ui-dashboard > IFluidLayoutCustomizer
IFluidLayoutCustomizer interface
Signature:
export interface IFluidLayoutCustomizer
Methods
Method | Description |
---|---|
addItem(sectionIdx, itemIdx, item) | Adds a new item containing a custom widget onto the dashboard. New item will be added to an existing section at index sectionIdx and within that section will be placed at itemIdx . The item to add must contain a custom widget data. Attempts to add item that does not contain any widget data will be ignored and warnings will be reported. Keep in mind that this can lead to further errors or problems down the line if you are adding more items at specific indexes into the same section.Note: new items will be added into existing sections before new sections will be added using the IFluidLayoutCustomizer.addSection() method. Therefore, |
addSection(sectionIdx, section) | Adds a new section with one or more custom widgets onto the fluid layout. The section to add must not be empty - it must contain at least one item. Attempts to add empty sections will be ignored and warnings will be reported. |