Forum


08:18

Moderators
30/10/2007

Hello,
Never tested, but try colNames:['Probem <br/>Code',...]
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.
08:07

20/11/2008

Hello,
I'm also very interested in getting this work. I have been testing with several methods but never get it working. I have also read a couple of posts before in this forum regarding the same issue. (Only found this post right now http://www.trirand.com/blog/?p.....38;ret=all ). I can guess there are even more users that migth be interested in this.
I hope there will be a solution to this soon!
Thanks Tony and your team for a great grid!
Keep up the good work!
/T
01:57

Moderators
30/10/2007

Hello,
Here is the solution which works for me. (Little ugly only in basic theme)
Open the grid.css file and correct the following lines:
table.scroll thead tr th {
...
height:18px;
}
to
table.scroll thead tr th {
...
height:auto;
}
table.scroll th div {
...
height:18px;
}
to
table.scroll th div {
...
height:auto;
}
and finally
table.scroll th span {
...
height:18px;
}
to
table.scroll th span {
...
height:auto;
}
Do not forget to set the brake tag in colNames
Enjoy.
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.
17:08

17/12/2008

Hello,
I have a column called "Cases # (Age 0-4)". I tried to change the css and add break tag in colName. It worked. The column name break into two lines:
Cases #
(Age 0-4)
On the edit form, the coloumn name also break into two lines. But I want o keep the column name in one line on the edit form. Is that doable?
Thanks,
Maggie
07:52

20/11/2008

Tony,
The solution you suggested here above (editing grid.css) worked very well for me. But after upgrading to jqGrid 3.5.2 (and themeroller), I have the same problem again.
Is it still possible to increase the height of the column name row as before, so one can have a line break in the header???
/T
02:34

Moderators
30/10/2007

Hello,
Do the same in ui.jqgrid.css - look section header in the css.
Reagrds
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: 715
Currently Online:
33 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