Bug - ExcelFilterStyle checkmark missing when you search for a filter
Description
Describe the issue.
- igniteui-angular version: 7.2.2
- browser: Chrome
Steps to reproduce
Alright, It is my understanding the Excel Filtering Style is supposed to "mimic" the filtering used in excel. Ok let's take a look how excel fitltering work in the actual excel software.
- In regular excel, If I type SME I get the following:

Now as soon as I press Enter or the OK button I get:

which translates to:
a checkmark to the 'SME' value and several empty boxes to the rest of the other values
Basically, we have 2 cases:
Case 1:
if I type "SM" I get => a checkmark for all the values that start with SM Ex: SME, SMP, SMX, and empty boxes (without checkmarks) for the rest of the values BTM, BTR or whatever
Case 2:
if I type "SME" or a value that is inside my "filters" then the only checkmark I get is in the "SME" value and the rest get an empty box (no checkmarks).
To get back to initial State:
If you click on Clear filter from Unit, I should get back to the initial state, which adds a checkmark to every single box next to the filters.
When you try to do the same in iginite-ui angular.
If I type "SME" => if you either press enter or click on the apply button, nothing happens. which makes sense because the checkmark is still on every single filter. which makes sense, this is logical. However, this is different in how actual excel does it.
Solution.
Infragistics needs to change how this particular search functionality works, here. It should be able to add a checkmark If I type the first letter of my filters and the response should add a checkmark to all the possible values that match my query criteria, the rest of the values should not get a checkmark. That way, whenever I click apply or press enter I should filter the grid correctly just like regular excel. To get back to initial state , then "Clear filter" will clear any selection I've typed in the beginning
@corganfuzz The reasons why we didn't implement it like this are two:
- This will perform filtering operations on each search resulting in event being fired every time you type and any additional UI bound to the filtered collection or to the filtering events would start responding to key strokes in the search. This can get very slow in a larger Angular application.
- The behavior in excel is exactly how you describe it, but if we add one more step and want to filter by
SMANDSP, then we cannot do it using the search. When we searchSMthe values starting withSMwill get checked and all the rest unchecked. Then when we search forSPtheSPvalues get checked, and the rest unchecked, including the values containingSM.
The excel-'style' filter is very close in terms of UI and functionality to the filtering in excel, but is not 100% the same.
Ok. Performance is a big deal , got it. Just wish there was an alternative
@corganfuzz I know it's one more click to check the checkboxes, but at least they will persist their check state through a second search :)
@corganfuzz closing this one :) re open if necessary :)