Tobias Koller (GERMO GmbH) schrieb:

You can have your own column sort algorithm. Take a look at the 0.7 
Table_1 example of how to do it.

a small snipplet:

table.getTableModel().setSortMethods(0, {
  ascending  : function(row1, row2) { ... },
  descending : function(row1, row2) { ... }
});


Best Fabian

> Hi list,
>
>  
>
> I have a questions about sorting date-values.
>
>  
>
> when I sort my date-column f.e. ASC it looks like:
>
>  
>
> 01.05.2008 14:00
>
> 07.03.2007 17:00
>
> 11.04.2008 13:32
>
>  
>
>  
>
> But this is not correct.
>
> It should be sorted like
>
>  
>
> 07.03.2007 17:00
>
> 11.04.2008 13:32
>
> 01.05.2008 14:00
>
>  
>
>  
>
> How can I make it work that it sorts the real date and not the string?
>
>  
>
> Thanks
>
> Tobias
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to