GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.24.0
  • Code samples
  • GitHub

init()

Home > @gooddata/sdk-ui-filters > IAttributeFilterLoader > init

IAttributeFilterLoader.init() method

Loads all the required data to initialize the attribute filter handler: attribute, selected attribute elements, initial elements page and optionally elements total count (for filters with parent).

Signature:

init(correlation?: Correlation, skipElementsLoading?: boolean): void;

Parameters

Parameter

Type

Description

correlation

Correlation

(Optional) correlation that will be included in all callbacks fired by this method

skipElementsLoading

boolean

(Optional) when true, only loads attribute metadata (skips elements, selection, total count)

Returns:

void

Remarks

Cancels the running initialization, if any, and starts it again.

Throws error if you combine staticElements with unsupported elements load options (limitingAttributeFilters, limitingMeasures or limitingDateFilters).

You can provide a correlation that will be included in the payload of all callbacks fired as a result of calling this method.

  • IAttributeFilterLoader.init() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 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