The SortableModel tryies to sort them as Comparable, if they don't implement that interface, than it sorts them as strings; as far as i can tell, having your objects displayed in a column implement that interface would allow you to customize the algorithm.

HTH,
Catalin

Torsten Krah <[EMAIL PROTECTED]> wrote:
Using a SortableModel and t:dataTable creates sorting Links by default.
Using Numbers in a column and sort them works, but the used algorithm to
sort is not equal to the natural sorting we use, of cause its a default
implementation it cant work for all, but how to change this for certain
columns.

I want to use this model and only modify the algorithm for some columns.

kind regards


Torsten


-- Give a man a fish and you feed him for a day; teach him to use the
Net and he won't bother you for weeks. --



Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to