:: Forum >>

Column resize bug for grid in table - RC1

Hi Alex,

I know this was discussed before in one of the beta versions. It is still a problem in RC1.

If the grid is in a table then the grid is not redrawn automatically after changing the column width. I have to move the mouse over each row before it will refresh on its own. I believe I can hook into the event and do a obj.refresh as a workaround if needed.

BTW, in the example below resizing between cols ONE and TWO works but between any others has the problem.

<script src="runtime/lib/aw.js"></script>
<link href="runtime/styles/xp/aw.css" rel="stylesheet"></link>

var myData = [[1,2,3,4,5,6,7],[1,2,3,4,5,6,7],[1,2,3,4,5,6,7],[1,2,3,4,5,6,7],[1,2,3,4,5,6,7]];
var myHeaders = ["One","Two","Three","Four","Five","Six", "Seven"];

var grid = new AW.Grid.Extended;
grid.setId("myGrid"); // necessary for CSS rules
grid.setCellText(myData); // 2-dimensional js array
grid.setHeaderText(myHeaders); // js array (see top of this page)



Also, in case you missed it I'm having a problem with formatting numbers here:

Rob Francis
Monday, February 6, 2006
Opps, I see:

<table style="table-layout:fixed">

helps! That works for me.

Please comment on the number format issue in case I'm doing something wrong on it
Rob Francis
Monday, February 6, 2006

This topic is archived.

Back to support forum

Forum search