Hi Regula,
Sorry for not removing this sample earlier. This was an experimental attempt to achieve this scenario but it turned out that it is not possible. And this sample should have been removed long ago.
I am afraid diacritic accent-insensitive filtering for the grid is not
supported. So if you have 2 or multiple different symbols for the same logical letter, this requirement
won't be possible to achieve with the built-in filtering of the grid. For comparison, the combo uses a client-side JavaScipt filtering implementation so the source code can be overriden and altered to achieve this requirement:
https://www.telerik.com/support/kb/aspnet-ajax/combobox/details/combobox-filtering-with-diacritic-accents
However, I am afraid this is not possible for the grid since it uses code-behind internal filtering queries on the server-side.
As a workaround, you can try applying your own custom filtering:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Filtering/operate-with-the-filterexpression-manually
Basically, you can filter the datasource manually using the values
defined by the users and pass the resulting data to the grid in its
NeedDataSource event handler. There is a handy COLLATE operator in the SQL arsenal for this kind of scenarios:
https://stackoverflow.com/questions/2461522/how-do-i-perform-an-accent-insensitive-compare-e-with-%C3%A8-%C3%A9-%C3%AA-and-%C3%AB-in-sql-ser
Another approach would be to add a new string field in your data source to hold
"clean" values without any diacritics. Then, you can create a
GridTemplateColumn with its DataField property set to "CleanField". In
its ItemTemplate you can place a Label and set its Text to '<%#
Eval("DiacriticsField") %>'.
Alternatively, you can create 2 columns and filter by the second column
instead, which will be hidden, similar to the attached web site sample.
Also, I've updated your Telerik points for any inconvenience this might have caused you.
Regards,
Eyup
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.