onApply
Home > @gooddata/sdk-ui-filters > IAttributeFilterCoreProps > onApply
IAttributeFilterCoreProps.onApply property
Specify function which will be called when user clicks 'Apply' button on this filter. Note: this callback is typically not called when using Dashboard apply filters mode ALL_AT_ONCE because there is no apply button dispalyed in attribute filter component. See withoutApply prop.
Signature:
onApply?: OnApplyCallbackType;
Remarks
The function will receive the current specification of the filter, as it was updated by the user.