GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

addSection()

Home > @gooddata/sdk-ui-dashboard > IFluidLayoutCustomizer > addSection

IFluidLayoutCustomizer.addSection() method

Warning: This API is now obsolete.

Use IFluidLayoutCustomizer.addSectionToPath() with sectionPath param instead.

Adds a new section with one or more custom widgets onto the fluid layout.

Signature:

addSection(sectionIdx: number, section: IDashboardLayoutSection<ICustomWidget>): IFluidLayoutCustomizer;

Parameters

ParameterTypeDescription
sectionIdxnumberindex to add the new section at
sectionIDashboardLayoutSection<ICustomWidget>section to add; note: customizer will make a deep copy of the item before adding it onto a dashboard. At this moment, the newly added items are read-only.

Returns:

IFluidLayoutCustomizer

Remarks

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.

  • IFluidLayoutCustomizer.addSection() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use