#myGrid .aw-cells-selected {color: black; background: #ffb; border: 2px solid black;}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<script src="./ActiveWidgets/runtime/lib/aw.js"></script>
<link href="./ActiveWidgets/runtime/styles/xp/aw.css" rel="stylesheet"></link>
<style>
#myGrid .aw-cells-selected {color: black; background: #ffb; border: 2px solid black;}
</style>
</head>
<body>
<script>
var obj= new AW.UI.Grid;
obj.setId("myGrid");
obj.setCellEditable(true);
obj.setColumnCount(10);
obj.setRowCount(10);
document.write(obj);
</script>
</body>
</html>
This topic is archived.