:: Forum >> Version 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
Monday, September 25, 2006
Sorry i forget to put, am using ie6 over windows 2000, using iis as server
Raja
Monday, September 25, 2006
You have to call table.request() to load the new dataset and the grid will be updated automatically.
Alex (ActiveWidgets)
Tuesday, September 26, 2006



This topic is archived.

Back to support forum

Forum search