I have a grid here: Dojo
It has filtering on the columns and a search bar on top. When I use both the grid behaves unexpectedly.
For example, use the column filter to get only columns with names that contain "Doe".
This returns John and Jane Doe.
Then in the search box type "33"
This returns John Doe and Lois Lane. At the same time it highlights the filter icons for Name and Age.
If I click the filter icon for Name it says "contains 33". None of the names contain "33" though. I also don't have my previous "Doe" filter applied to the name column anymore.
I would expect that I would only have 1 result. John Doe because his last name is Doe and he is 33 years old.
I would also expect that the filter icon for age is not highlighted since I never filtered on that specific column.
If I do it the other way around, type "Doe" in the search first and then filter by "33" in the age I get the results I was expecting.
If I hide a column using the select columns button in the upper left while it is filtered, the filter stays applied even though the column is hidden.
How do I solve these issues?