Hi,
In Turkish upper of letter i is İ , not I. When user enters filter row the word "emir" , the row with the value "EMİR" is not shown. Is there any solution for this issue?
Thanks.
We have closed this ticket because another page addresses its subject:
DataGrid - How to perform accent-insensitive searchHi,
In Turkish upper of letter i is İ , not I. When user enters filter row the word "emir" , the row with the value "EMİR" is not shown. Is there any solution for this issue?
Thanks.
Hello,
v23.1 or later:
The DataSource component can now sort and filter data by a locale with special characters (for example, symbols with diacritics). Specify locale and collator options in the langParams object to implement this functionality: What's New Data Layer. You can set langParams|collatorOptions|sensitivity
to 'base' and all diacritics are ignored while sorting and filtering.
You can download these packages for testing:
JSONdevextreme@23.1.2-beta
devextreme-angular@23.1.2-beta
devextreme-react@23.1.2-beta
devextreme-vue@23.1.2-beta
Prior v23.1
We have already discussed a similar question in the dxDataGrid: How to perform accent-insensitive search ticket. I recommend you implement this solution. Please review the following example and attached video: https://codepen.io/anon/pen/PmXPvV.
Regards,
Vova
Hello,
You need to pass the same object to the filter method that is returned by the calculateFilterExpression callback in this case. Once you pass the getter function instead of the "Name" string to this method, the approach should work.
Let me know if you have any further questions.
Hello,
The DataSource component can now sort and filter data by a locale with special characters (for example, symbols with diacritics). Specify locale and collator options in the langParams object to implement this functionality: What's New Data Layer. You can set langParams|collatorOptions|sensitivity
to 'base' and all diacritics are ignored while sorting and filtering.
You can download these packages for testing:
JSONdevextreme@23.1.2-beta
devextreme-angular@23.1.2-beta
devextreme-react@23.1.2-beta
devextreme-vue@23.1.2-beta
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.