:: Forum >>

Regarding sorting of number format column.

Hi,
I have the problem in sorting of numbers. Actually I have the data like.

var myData = [
["0","980-7856 4563"],
["13","932-0111 0044"],
["74","896-5564 5435"]
];

I am using AW.Formats.Number for sorting of numbers. But If I have the data like second column (ie: numbers are seperated by " - " ), how to handle this.

Please help me.One of our customer raised this issue.
vamsidhar
Tuesday, April 1, 2008
If you need some kind of special sorting procedure you can supply your own comparator function -

http://www.activewidgets.com/aw.system.format/comparator.html
Alex (ActiveWidgets)
Tuesday, April 1, 2008

This topic is archived.


Back to support forum

Forum search