You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter does not work properly for Turkish characters.
Ex: The filter does not work properly when it contains a word with a capital “İ”. Probably when doing toLowerCase(), it makes uppercase “İ” as lowercase “ı”. But the Turkish equivalent should be small “i”. For this, we need to do operations like the following line of code in our own filtering. We also want to do this in SFDataGrid.
We use syncfusion_flutter_datagrid: ^24.2.3
Sample Code for me to integrate Turkish Character editing: (Example Code)
[Upload media here] (I will provide it if needed, but for now I think it is obvious.)
Stack Traces
Stack Traces
[Add the StackTraces here]
On which target platforms have you observed this bug?
Android, iOS, Web, Web (Android browser), Web (iOS browser), Windows, macOS, Linux
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.1, on Microsoft Windows [Version 10.0.22631.4460], locale en-GB)[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)[√] Chrome - develop for the web[√] Android Studio (version 2024.2)[√] VS Code (version 1.95.3)[√] Connected device (2 available)[√] Network resources
The text was updated successfully, but these errors were encountered:
EBBozkurt
changed the title
[syncfusion_flutter_datagrid] Filter for List<T> column type
[syncfusion_flutter_datagrid] Filter does not work properly for Turkish characters.
Dec 2, 2024
Based on the details and steps you provided to reproduce the issue, we have tested your sample. However, we were unable to replicate the issue as described. Everything works fine on our end without any issues. We have included a video of our testing for your reference. Please review the video for clarity.
Testing Video
Video.reference.mp4
To assist you further and better understand the issue, we kindly request that you provide any additional details or steps that may help us reproduce the problem. Additionally, a video recording demonstrating the issue would greatly help us investigate thoroughly and provide a more accurate resolution
Thank you for your review, and I appreciate your time. I realized there was a typo in the steps I initially provided—my apologies for the confusion.
To clarify, I have prepared two use-cases below for you to recreate the scenarios. Additionally, I’ve updated the Employee Data for better clarity. Please replace the old data with the following:
List<Employee> getEmployeeData() {
return [
Employee(10001, 'Lara', 'İş Geliştirme'),
Employee(10002, 'Perry', 'İş Yönetimi'),
Employee(10003, 'Adams', 'Here is the problem İş'),
Employee(10004, 'Michael', 'İş '),
Employee(10005, 'Thomas', 'iş'),
];
}
Use-case 1:
Input: The user types "iş".
Expected Output: The following IDs should be displayed: 10001, 10002, 10003, 10004, 10005.
Reason: This behavior occurs because the uppercase "İ" is equivalent to the lowercase "i" in Turkish character handling.
Use-case 2:
Input: The user types "iş " (with a space at the end).
Expected Output: The following IDs should be displayed: 10001, 10002, 10004.
Reason: The trailing space narrows down the matches to fields that explicitly include "iş ".
Please let me know if anything is unclear or if further adjustments are needed!
Bug description
Filter does not work properly for Turkish characters.
Ex: The filter does not work properly when it contains a word with a capital “İ”. Probably when doing toLowerCase(), it makes uppercase “İ” as lowercase “ı”. But the Turkish equivalent should be small “i”. For this, we need to do operations like the following line of code in our own filtering. We also want to do this in SFDataGrid.
Sample Code for me to integrate Turkish Character editing: (Example Code)
Steps to reproduce
To see the error, just type “iş ”. Don't forget to add the space at the end. When you do this, “İş Geliştirme” should appear, but it does not.
When I type “iş”, the capitalized “İş” does not appear.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here] (I will provide it if needed, but for now I think it is obvious.)
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Android, iOS, Web, Web (Android browser), Web (iOS browser), Windows, macOS, Linux
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: