?
Solved

Sorting special characters in a DataGrid

Posted on 2009-02-17
4
Medium Priority
?
826 Views
Last Modified: 2013-12-12
Hello!

Please somebody show me how to sort special characters like (üäöÜÄÖß) in a DataGrid.
I have get a working solution from Jones911 an Hobbit to sort the DataGrid, but without a function to sort the special characters too.

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_24134815.html#a23661164

Now the sorting look like:

A
B
C
...
...
...
...
X
Y
Z
Ä
Ö
Ü

Thank´s in advance!
0
Comment
Question by:20one
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Jones911
ID: 23662590
I'll assume its sorting on ASCII value which is why the Ä goes to the end.

Do you want it like this:
A
Ä
B
C
...
...
...
...
Ö
Ü
X
X
Y
Z

?
0
 

Author Comment

by:20one
ID: 23663027
Yes that´s it!

Thank´s
0
 
LVL 19

Accepted Solution

by:
Jones911 earned 2000 total points
ID: 23672610
I think you goign to have to write your own sort function that has a ton of If/else stuff to filer out the Ä's ect.  I don't think there is any easy solution to this.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question