loadInitialElementsPage()
Home > @gooddata/sdk-ui-filters > IAttributeElementLoader > loadInitialElementsPage
IAttributeElementLoader.loadInitialElementsPage() method
Resets the paging and loads the attribute elements with the current options.
Signature:
loadInitialElementsPage(correlation?: Correlation): void;
Parameters
Parameter | Type | Description |
---|---|---|
correlation | Correlation | (Optional) correlation that will be included in all callbacks fired by this method |
Returns:
void
Remarks
You should call this every time you change the load options (eg search, limit, limitingAttribute filters, etc).
Throws error if you call it before the initialization.
Throws error if you combine staticElements with unsupported elements load options (limitingAttributeFilters, limitingMeasures or limitingDateFilters).
Cancels the running initial elements page load, if any, and starts it again.
Cancels the running next elements page load, if any.
You can provide a correlation that will be included in the payload of all callbacks fired as a result of calling this method.