:: Forum >>

AW.CSV.Table Headers

I apologize as I am a noob when it comes to using this.

How do I populate the header row with data already in the .csv file?

How do I limit the output to three columns?

Below is what I have so far

<body>
<div>Today's Activity</div>
<link href="./runtime/styles/vista/aw.css" rel="stylesheet" type="text/css" ></link>
<script src="./runtime/lib/aw.js"></script>
<script>

    
    var table = new AW.CSV.Table;

table.setURL("./report-194.csv");
table.request();

    

var obj = new AW.UI.Grid;
obj.setColumnCount(3);
obj.setColumnIndices([0,1,2]);
obj.setCellModel(table);

document.write(obj);

</script>
</body>
FinchAdmin
Wednesday, June 5, 2013
Found my answer in the basic.htm file. Sorry!
FinchAdmin
Wednesday, June 5, 2013

This topic is archived.


Back to support forum

Forum search