var myHeaders = ["File Ref", "LAW Ref", "Their Ref", "Description", "Location","File Ref", "LAW Ref", "Their Ref", "Description", "Location"];
var myData = [];
myData[30] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[31] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[32] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[33] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[34] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[35] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[36] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[37] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[38] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[39] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[40] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[41] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[42] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[43] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[44] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[45] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[46] = ["094","3128","23231","ABC","aaa","094","3128","23231","ABC","aaa"];
myData[47] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[48] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
myData[49] = ["095","3129","12231","DEF","bbb","094","3128","23231","ABC","aaa"];
var obj = new AW.UI.Grid;
obj.setId("myGrid");
obj.setCellText(myData);
obj.setHeaderText(myHeaders);
obj.setCellEditable(false);
obj.setRowCount(12);
obj.setColumnCount(10);
obj.setSelectorVisible(false);
obj.setSelectionMode("single-row");
obj.setRowIndices([38,39,40,41,42,43,44,45,46,47,48,49]);
obj.setSelectedRows([39]);
</script>
<table>
<script>
document.write(obj);
</script>
</table>
This topic is archived.