createEmptyFilterForMode()
Home > @gooddata/sdk-ui-filters > createEmptyFilterForMode
createEmptyFilterForMode() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates an empty filter for the specified mode.
Signature:
export declare function createEmptyFilterForMode(mode: AttributeFilterMode, displayForm: ObjRef, localIdentifier?: string): IAttributeFilter;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
mode |
filter mode | |
|
displayForm |
display form reference | |
|
localIdentifier |
string |
(Optional) optional local identifier |
Returns:
empty filter of the specified type