3.2.0

Grid in popup window, resize window, missing remainder of grid

I place a grid into a popup browser window which is showing about 50% of the grid with a vertical scrollbar. If I immediately resize the window and extend the height by dragging the border, the grid will not refresh and it appears to the user that there is no more data, although the scrollbars do seem to reflect the change. If you first scroll to the bottom of the grid, then scroll back, then do your browser resize, the grid will properly refresh to show what it can. I have tried adding the grid alone, and wrapped in a DIV. What would be the best way to handle this?

var grid = new AW.UI.Grid; 
grid.setId("taskGrid"); 
grid.setHeaderText(myHeaders); 
grid.setCellText(myCells); 
grid.setColumnCount(myHeaders.length); 
grid.setRowCount(myCells.length); 
grid.setCellTemplate(new AW.Templates.ImageText, 3);
grid.setCellImage("complete",3);
grid.setStyle('width', '100%'); 
grid.setStyle('height', '95%'); 
grid.setStyle("table-layout","fixed");

Curt K.
April 21,
Not sure, but check if this patch could solve it.
http://www.activewidgets.com/javascript.forum.21650.4/dynamic-height-on-a-data.html
Carlos
April 21,

This topic is archived.

See also:


Back to support forum