3.0 beta 2

Expansion of grid height to match rows?

Is there any way to adjust or set the .active-contols-grid height value to match the row count value, so that the grid will always expand to show all rows returned in a result set? In other words, I do not want to show a vertically scrollable subset - I want all fo the rows to be visible without scrolling. Thanks for any advice!
Frank Moriarty
February 10,
May someone respond to this VERY interesting question ?
Patrick Allaert
March 31,
I use this trick.
var gridheight =
"column-headers".height +
3 to 5 px for "column-header-borders +
24 px (default row height) * myData.lenght +
1 px * myData.lenght (if use row line separator) +
"horiz-scrollbar".height

var stylesheetX = document.styleSheets[document.styleSheets.length-stylesheetX.addRule('#objid', 'HEIGHT: ' + gridheight + 'px;');
document.write(obj);
Carlos
March 31,
I tried something similar without success. Details are in this forum post:
/javascript.forum.4516.0/resizing-grid-using-javascript.html

Am I doing something wrong?

Is something missing?
Craig
April 20,
Here is a post with a solution that worked for us

/javascript.forum.5038.0/resize-grid-on-browser-resize.html

Craig
May 16,
Craig
May 17,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.