Loading Multi Header Values From CSV File
Hi All,
I wonder if you may assist me here. I've searched the forum and found a couple of threads that are on my topic, however none of the exiting ones quite fit my requirements.
I am using a CSV file, and would like the first two lines of that file to be used as the two grid headers. (I've set obj.setHeaderCount(2);)
Any assistance would be greatly appreciated.
Current code in use detailed below:
Cheers,
Matt
I wonder if you may assist me here. I've searched the forum and found a couple of threads that are on my topic, however none of the exiting ones quite fit my requirements.
I am using a CSV file, and would like the first two lines of that file to be used as the two grid headers. (I've set obj.setHeaderCount(2);)
Any assistance would be greatly appreciated.
Current code in use detailed below:
<script type="text/javascript">
var table = new AW.CSV.Table;
table.setURL("URLTOCSV");
table.request();
var obj = new AW.Grid.Extended;
obj.setColumnCount(50);
obj.setId("myGrid");
obj.setHeaderCount(2);
obj.setHeaderHeight(40, 0); // header row-0
obj.setHeaderHeight(30, 1); // header row-1
obj.setFixedLeft(4);
obj.setCellModel(table);
document.write(obj);
</script>
Cheers,
Matt
Matt
March 24,