Sorting Broken In V2.0B3
It seems as though sorting number is broken in v2b3:
// Formats
var aw_format_number = new AW.Formats.Number;
grid.setCellFormat(aw_format_number, 1);
grid.setCellFormat(aw_format_number, 2);
grid.setCellFormat(aw_format_number, 3);
grid.setCellFormat(aw_format_number, 4);
grid.setCellFormat(aw_format_number, 5);
grid.setCellFormat(aw_format_number, 6);
The rendered grid still sorts numbers as strings i.e. 3400 104 45 sorts as 104,3400,45. Don't know if this is means anything, but the myData array has the numbers in quotes i.e. ["3400","104","45"];
// Formats
var aw_format_number = new AW.Formats.Number;
grid.setCellFormat(aw_format_number, 1);
grid.setCellFormat(aw_format_number, 2);
grid.setCellFormat(aw_format_number, 3);
grid.setCellFormat(aw_format_number, 4);
grid.setCellFormat(aw_format_number, 5);
grid.setCellFormat(aw_format_number, 6);
The rendered grid still sorts numbers as strings i.e. 3400 104 45 sorts as 104,3400,45. Don't know if this is means anything, but the myData array has the numbers in quotes i.e. ["3400","104","45"];
Joe
December 30,