Hello,
I am using a JQgrid with no paging mechanism where all the data is shown at once. I can't use the 'auto' value for the grid height because it will stretch the grid vertically too much if the number of rows are large. I need to set the grid's height to a value so it can display, lets say, 50 rows and then the rest of the rows can be seen by using the scrollbar. Please note that I need to bring all the rows to the client (rowNum: -1).
Here's my problem.
Setting the grid height to 'auto' is not possible due to the above issue. If I use a number, say 100, the grid always uses that space even though there are no rows or very few rows. Due to this, there is a lot of extra space which doesn't look nice. What I want is something like: maxHeight + auto combination. The grid should resize itself vertically but not beyond the maxHeight.
I am using the version 3.5.3.
Any ideas?
Thanks,
Rushi
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top