3.0 beta 2

How to Refresh the grid?, Can you pls help me to correct the code..

<html>
<head>
<link href="aw.css" rel="stylesheet" type="text/css" >
<script src="aw.js"></script>
</head>
<body>
<script>
var table = new AW.CSV.Table;
var d = new Date();
table.setURL("companies.txt?"+d.getTime());
table.request();
var obj = new AW.UI.Grid;
obj.setColumnCount(5);
obj.setCellModel(table);
obj.refresh();
document.write(obj);
</script>
</body>
</html>
Raja
September 25,
Sorry i forget to put, am using ie6 over windows 2000, using iis as server
Raja
September 25,
You have to call table.request() to load the new dataset and the grid will be updated automatically.
Alex (ActiveWidgets)
September 26,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.