setAttributeFilterSelectionMode()
Home > @gooddata/sdk-ui-dashboard > setAttributeFilterSelectionMode
setAttributeFilterSelectionMode() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the ISetAttributeFilterSelectionMode command.
Signature:
export declare function setAttributeFilterSelectionMode(filterLocalId: string, selectionMode: DashboardAttributeFilterSelectionMode): ISetAttributeFilterSelectionMode;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
filterLocalId |
string |
local identifier of the filter the selection mode is changed for |
|
selectionMode |
newly selected selection mode |
Returns:
ISetAttributeFilterSelectionMode
change filter selection mode command
Remarks
Dispatching the commands will result into setting provided selection mode as a selected selection mode for the attribute filter.