:: Forum >>

No cursor in firefox

Hi,

I have found that if you have a border set in the 'aw-cells-selected' style in firefox (2.0.0.3), you cannot see a cursor when typing in the grid. You also can't see what you have typed until you change focus to a different cell. As soon as you remove the border style it works fine. It also works fine *with* the border in IE 6.

#myGrid .aw-cells-selected {color: black; background: #ffb; border: 2px solid black;}

Is this a bug in Firefox or the Grid? I'm using ActiveWidgets 2.

A complete example:
<!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>



Thanks
Stuart
Thursday, April 12, 2007

This topic is archived.


Back to support forum

Forum search