Vertical scrollbar problem on resizing grid
Hi,
When I resize the grid such that the number of visible rows reduce, the vertical scrollbar doesn't appear.
In the example code below, initially I have 7 columns.
I have set a timeout which will resize the grid to half its height in 5 seconds.
In FireFox, Opera and Safari, there is no vertical scrollbar after resizing.
It works as expected in IE7.
Any ideas ?
Ankur
When I resize the grid such that the number of visible rows reduce, the vertical scrollbar doesn't appear.
In the example code below, initially I have 7 columns.
I have set a timeout which will resize the grid to half its height in 5 seconds.
In FireFox, Opera and Safari, there is no vertical scrollbar after resizing.
It works as expected in IE7.
Any ideas ?
Ankur
<html>
<head>
<script src="runtime/lib/aw.js"></script>
<link href="runtime/styles/xp/aw.css" rel="stylesheet"></link>
</head>
<body>
<script>
var obj = new AW.Grid.Extended;
obj.setCellText(function(i, j){return j + "." + i});
obj.setHeaderText("header");
obj.setFixedLeft(0);
obj.setColumnCount(10);
obj.setRowCount(7);
obj.setSize(400, 200);
document.write(obj);
window.setTimeout(function(){obj.setSize(400, 100);}, 5000);
</script>
</body>
</html>
Ankur Motreja
March 1,