<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html>
<head>
<title>ActiveWidgets in IE</title>
<link href="runtime/styles/xp/aw.css" rel="stylesheet" type="text/css" ></link>
<style type="text/css">
#frame .aw-column-0 {width:60px}
#frame .aw-column-1 {width:100px}
#frame .aw-column-2 {width:160px}
</style>
<script src="runtime/lib/aw.js" type="text/javascript"></script>
<script type="text/javascript">
var myCells = [
["MSFT", "32,187.000", new Date(1215645046900)],
["ORCL", "9,519.000", new Date(1215640346900)],
];
var obj = null;
window.onload=Load;
function Load()
{
obj = new AW.UI.Grid;
obj.setId("frame");
obj.setCellData(myCells);
obj.setColumnCount(3);
obj.setRowCount(2);
var date = new AW.Formats.Date;
date.setDataFormat("default");
date.setTextFormat("dd.mm.yyyy hh:mm:ss");
obj.setCellFormat(date, 2);
obj.refresh();
}
</script>
</head>
<body>
<div id="frame">
</div>
</body>
</html>
This topic is archived.