:: Forum >>

Set Grid height to equal real hight of grid.

I have a grid right now that the CSS has the

".active-controls-grid" height = 100%

which will make the grid use full possible height. if my grid only has one row, its still takes up the full height. I want to add some html buttons to the bottom of the grid. but they are ending up off screen and a scroll bar aprears. i want the buttons to be right after the last row. is there a way to do this?

Thanks,
David D.
Sunday, April 17, 2005
David,

You could change the style height for the grid using JavaScript. Stylesheets are not "dynamic" like that.
Stephane
Sunday, April 17, 2005
I tried something similar without success. Details are in this forum post:
http://www.activewidgets.com/javascript.forum.4516.0/resizing-grid-using-javascript.html

Am I doing something wrong?

Is something missing?
Craig
Wednesday, April 20, 2005
Stephanie,

Do you have any addition info on how this can be done?
David D.
Thursday, April 21, 2005
Here is a post with a solution that worked for us

http://www.activewidgets.com/javascript.forum.5038.0/resize-grid-on-browser-resize.html
Craig
Monday, May 16, 2005

This topic is archived.


Back to support forum

Forum search