why doesn't this simple example work?
<html>
<head>
<!-- include AW stylesheet and script -->
<link href="../../runtime/styles/xp/aw.css" rel="stylesheet" type="text/css" ></link>
<script src="../../runtime/lib/aw.js"></script>
</head>
<body>
<script>
// insert javascript arrays produced by PHP functions
var myHeaders = ["id","workorderid","description","cost","chargetype","duration"];
var myCells = [
["55","40","time","125","hourly","2"],
["56","30","helpme","20","hourly","2"],
["57","50","small order","125","hourly","2"]
];
// create grid control
var obj = new AW.UI.Grid;
// set grid text
obj.setHeaderText(myHeaders);
obj.setCellText(myCells);
// set number of columns/rows
obj.setColumnCount(myHeaders.length);
obj.setRowCount(myCells.length);
// write grid to the page
document.write(obj);
</script>
</body>
</html>
I am totally baffled...
Why doesn't this work? I have been able to get other examples working, but this one has me at the end of my wits.
comptech
June 18,