The method allows you to remove filters.
Context.fields.money1.data.clearFilter();
The method allows you to set filters.
const price = new Money(100, 'USD'); Context.fields.money1. data.setFilter(money1 => money1.gt(price), 'The price must be greater than $100');
Your review is successfully sent!
Feedback sent successfully
Managing of data in a Money type field
Type parameters
C: CurrencyCode
Hierarchy
Properties
clearFilter
The method allows you to remove filters.
Type declaration
Returns void
setFilter
The method allows you to set filters.
const price = new Money(100, 'USD'); Context.fields.money1. data.setFilter(money1 => money1.gt(price), 'The price must be greater than $100');Type declaration
Parameters
fc: ComparableFilterClosure<TMoney<C>>
Optional message: undefined | string
Returns void