:: Forum >>

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
Thursday, February 10, 2005
May someone respond to this VERY interesting question ?
Patrick Allaert
Thursday, March 31, 2005
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) +

var stylesheetX = document.styleSheets[document.styleSheets.length-stylesheetX.addRule('#objid', 'HEIGHT: ' + gridheight + 'px;');
Thursday, March 31, 2005
I tried something similar without success. Details are in this forum post:

Am I doing something wrong?

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


Monday, May 16, 2005

Um, that should be:

Tuesday, May 17, 2005

This topic is archived.

Back to support forum

Forum search