Hello Syncfusion,
I needed to create search component outside the toolbar Grid. Decided to create one Input(we paste here string or number) and button(when you press it then grid is filtered).
Now the problem is that, I would like to filter many columns of the grid, but unfortunately it doesn't work as I want.
filterTable(): void {
const value = this.formGroup.value;
if (value.searchValue !== "") {
this.grid.filterByColumn('name', 'contains', value.searchValue );
this.grid.filterByColumn('age', 'contains', value.searchValue );
this.grid.filterByColumn('city', 'contains', value.searchValue );
Right now this return the rows where all columns contain "searchValue"(use AND statement). name CONTAINS value.searchValue && age CONTAINS value.searchValue && city CONTAINS value.searchValue
I would like to get all rows where:
name CONTAINS value.searchValue || age CONTAINS value.searchValue || city CONTAINS value.searchValue.
Could you help me with the problem?