accentFoldingFiltering String

It allows the filtering operation to be performed considering the diacritic characters for specific language.

  • Since these characters are strictly specific for a specific language, setting the appropriate culture has to be set as a value. For example, tr-TR for Turkish, es-ES for Spanish, or fr-FR for French.
  • Due to the specifics of the case-insensitive search, only one language can be used to filter your data. For example, if you mix English and Turkish in the data, you may observe unexpected behavior.

Introduced in the Kendo UI 2019 R1 SP1 (2019.1.220) release.

Example - use the accentFoldingFiltering

<script>
  var dataSource = new kendo.data.DataSource({
    data: [
                    {  name: "KIZILTOPRAK" },
                    {  name: "KARŞIYAKA" },
          {  name: "İSTANBUL" }
    ],
    filter: { field: "name", operator: "contains", value: "k\u0131z" },
    accentFoldingFiltering: "tr-TR"
  });
  dataSource.fetch(function(){
    var view = dataSource.view();
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(view.length); // displays "1"
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(view[0].name); // displays "KIZILTOPRAK"
  });
</script>
In this article