Resize jqGrid based on number of rows?
Posted
by Rosdi
on Stack Overflow
See other posts from Stack Overflow
or by Rosdi
Published on 2009-12-29T03:48:10Z
Indexed on
2010/03/14
23:45 UTC
Read the original article
Hit count: 226
I want my jqGrid to shrink and expand based on the number of rows it has. Let say it currently has 10 rows, the height of the jqGrid will shrink to 10 rows (so that no gaping empty rows is exposed).
If however there are too many rows, the height of the grid will expand to a maximum 'height' value and a scroll bar will appear.
© Stack Overflow or respective owner