:: Forum >>

sorting decimals

Using the latest version,

I am having issues with sorting decimals, using

var num = new AW.Formats.Number;
...
obj.setCellData(sortData);
obj.setCellFormat([num]);

number examples when sorted,

97.88
97.88
250.00
22.88
100.00


which is clearly wrong. Cant see where I am going wrong with this, any help would be much appreciated!

trevor
Friday, August 14, 2009
sorry, I was being an idiot, i put quotes around 'num'

obj.setCellFormat(['num']);
trevor
Friday, August 14, 2009

This topic is archived.


Back to support forum

Forum search