Hi,
Let us say I have a dataSource with 2 columns: Name and Contact.
Now I have a searchValue on which I want to filter the dataSource with this expression: "Name == searchValue || Contact == searchValue".
How should I do that? Can't find documentation on that, only about simpel single field filters.
I use this to filter on one field:
But how should I do that with an "or" filter on a second field?
And is possible to use an expression?
Regards, Jaap
Let us say I have a dataSource with 2 columns: Name and Contact.
Now I have a searchValue on which I want to filter the dataSource with this expression: "Name == searchValue || Contact == searchValue".
How should I do that? Can't find documentation on that, only about simpel single field filters.
I use this to filter on one field:
dataSource.query({ filter: { field: "Name", operator: "contains", value: searchValue} });
But how should I do that with an "or" filter on a second field?
And is possible to use an expression?
Regards, Jaap