resetAttributeFilterSelection()
Home > @gooddata/sdk-ui-dashboard > resetAttributeFilterSelection
resetAttributeFilterSelection() function
A convenience function that will create ChangeAttributeFilterSelection command that will select all elements of the dashboard attribute filter with the provided local id.
Signature:
export declare function resetAttributeFilterSelection(filterLocalId: string, correlationId?: string): ChangeAttributeFilterSelection;
Parameters
Parameter | Type | Description |
---|---|---|
filterLocalId | string | dashboard attribute filter's local id |
correlationId | string | (Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns:
ChangeAttributeFilterSelection
Remarks
This is same as creating the ChangeAttributeFilterSelection command with empty elements and NOT_IN selection type.