Forum
Topic RSS
23:14
19/08/2009
OfflineHi,
I'm using grid 3.5.3 with cell editing.
I've got a case where I allow the user to set the height of the grid, and it's important that the entire grid is the height that the user has specified.
I've got the grid table within a div without any size attributes and with overflow=auto. There are also no size attributes on the table for the grid.
I then set the height and width properties of the grid - I've noticed that the height set is not what the grid is on the page. It mustn't include some of the extra rows like the header, pager, footer, scroll bars etc.
Is there a way to specify the height of the whole grid, so that when a user inputs 500px, the whole grid, including all scrollbars, headers and footers etc is exactly 500px in height?
I've tried ommitting the height and width params from the grid definition and setting the div to a specific height and width but that didn't work either.
Any suggestions greately appreciated.
Regards,
Jo
11:28
Moderators
30/10/2007
OfflineHello,
Thanks. Currently no. We set only the height in the data. Your recommendation have sence to included in the future releases, since we can use the resizable jQuery UI to resize the grid .
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 994
Currently Online:
317 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home