var ukFormat = [
["aaa", "111", "21-02-2005"],
["bbb", "22", "01-01-2004"],
["bbb", "22", "10-11-2002"] ,
["bbb", "22", "31-01-2003"],
["bbb", "22", "31-01-2004"]
];
var usFormat = [
["aaa", "111", "02-21-2005"],
["bbb", "22", "01-01-2004"],
["bbb", "22", "11-10-2002"] ,
["bbb", "22", "01-31-2003"],
["bbb", "22", "01-31-2004"]
];
var string = new AW.Formats.String;
var number = new AW.Formats.Number;
var date = new AW.Formats.Date;
var obj = new AW.UI.Grid;
obj.setCellText(ukFormat);
obj.setCellFormat([string, number, date]);
obj.setColumnCount(3);
obj.setRowCount(5);
document.write(obj);
This topic is archived.