Forum


14:12

10/03/2010

Hi .
Issue : Grid Expanding Automatically when using Long Columns Names
I use a jQgrid declared with the following attributes : ( i have listed only few important ones)
autowidth:true,
forceFit: false,
My table has long column header names.
When the Grid loads the width of the grid seems to be expanding automatically .
The Grid default width becomes bigger than that of the container adn thus the containg table also expands thus deforming the page.
But when i used shorter column names(just for checking) the default grid width is as expected(width of the container) .
hence i observe this abnormal width increase is a result of usage of Long column names(which i need to use) .
Is there any way to work around this ?
I also tried specifying the width property for couple of columns which have long column names . but that did not solve it.
Any help would be greatly appreciated.
Most Users Ever Online: 715
Currently Online:
169 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