This is a migrated thread and some comments may be shown as answers.

Grid sorting strings by "equals" not working

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mateusz
Top achievements
Rank 1
Mateusz asked on 08 Aug 2013, 02:17 PM
Hey guys I have some strings in my grid like "Machine2". When I try to sort by Starts with: "Machine2" everything works great. But when I use equals:   "Machine2" I get nothing. Do you know what causes this problem or maybe if I can just leave Starts with sorting ability (which is sufficient).  Also it only occurs when using strings cause when I have int numbers like 100 sorting with equals: "100" works just fine.

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 12 Aug 2013, 07:32 AM
Hello Mateusz,

I am afraid that the provided information is not sufficient enough in order to determine what exactly causes the issues. I tried a similar scenario in this here but got everything to work as expected.

Could you please compare your current implementation with the one from my example and let me know what I am missing?
Thank you in advance.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mateusz
Top achievements
Rank 1
answered on 13 Aug 2013, 10:12 AM
I actually know what the problem is. I mapp data from a database and I get 22 spaces after "Machine2" kind of like this  "Machine2                              " .
Tags
Grid
Asked by
Mateusz
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Mateusz
Top achievements
Rank 1
Share this question
or