Hi,
I've never used GridPanel before, however I did create a custom column
sorter for the Incubator table.

My sorter accepted objects that implemented the Comparable
interface.
So I was able to create special wrapper classes for my displayable
data that needed special sorting.
The wrapper class implements a custom compareTo() method that takes
care of any special-need sorting..
The sortable objects over-ride the toString() method to provide custom
formatting of data also.

Not sure if you can apply a similar technique to your GridPanel..

(Example snippet)

public class SortableDate implements Comparable<SortableDate>{
        public Date myDate;

        public SimpleDate(Date myDate){
                this.myDate = myDate;
        }

        public int compareTo(SimpleDate other) {
                return myDate.compareTo(other.myDate);
        }

        public String toString(){
                return this.formatDate_MMDDYYYY();
        }

 ........

Mike.


On Jun 7, 11:22 pm, "[email protected]" <[email protected]>
wrote:
> Hello all,
>
> I'm currently working on a GWT application and i have some problems
> with my GridPanel.
>
> I have to manage the CRUD of objects in a GridPanel, all it's ok for
> the CRUD ... but I still have a problem for manage the display of
> Objects in my Grid.
> In fact, when i try to ordonate mine Objects with an alphabetic range,
> all accentuated char aren't sorted.
> The main language is the French, so accent are very usefulls.
>
> I give you an exemple with 5 words:
> Google
> Web
> Toolkit
> Is
> étincellant
>
> After the sort i got this result
> Google
> Is
> Toolkit
> Web
> étincellant
>
> The "é" char isn't considered as a "e" for the sort ...
>
> Anyone has an idea ?
>
> Thanks a lot fort help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to