Mewriick / Blazor.FlexGrid

GridView component for Blazor
MIT License
199 stars 36 forks source link

Case-insensitive filtering on non-lazy-loading scenario. #113

Closed MAndrade1980 closed 4 years ago

MAndrade1980 commented 4 years ago

Hi, is there a way to do case-insensitive filtering without having to use the lazy-loading options?

Mewriick commented 4 years ago

Hello @MAndrade1980

I need check this out because, if you use TableDataSet with filters, the filter expression is created from value which you put into filtering field.

MAndrade1980 commented 4 years ago

Hi @Mewriick was just seeing if this was something that might be pushed in a near release? Also, would there be a section of the code I could peek at to see where this is going on? I would imagine this is some LINQ being used when filtering the DTO list.

Mewriick commented 4 years ago

Hi @MAndrade1980, new version is released. This should now work aslo with TableDataSet without LazyTableDataSet need. In configuration method for column IsFilterable you can choose how text column will be matched during filtering part. Default value is StringComparison.InvariantCultureIgnoreCase

MAndrade1980 commented 4 years ago

Looks great, many thanks!