Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Possible row height bug in in IE8
28/01/2010
15:33
Avatar
jdenbrock
New Member
Members
Forum Posts: 2
Member Since:
28/01/2010
sp_UserOfflineSmall Offline

Hello,

I'm using the jqGrid 3.6.2 in IE8. I have run into an issue with the row height not adjusting to fully display the value in a cell. I'm including in a cell a <br /> tag to produce a line break. In FF 3.6, the height of the row does adjust as needed. In IE 8, the row height does not adjust.

Thanks,

Jon

28/01/2010
16:39
Avatar
jdenbrock
New Member
Members
Forum Posts: 2
Member Since:
28/01/2010
sp_UserOfflineSmall Offline

I believe I have found a workaround for this issue. In the ui.jqgrid.css file, I made the following modification:

ui-jqgrid tr.jqgrow td {

border-bottom-color:inherit;
border-bottom-style:solid;
border-bottom-width:1px;
font-weight:normal;
height:22px;
overflow:hidden;
padding:0 2px;
white-space:pre;
}
to
-jqgrid tr.jqgrow td {
border-bottom-color:inherit;
border-bottom-style:solid;
border-bottom-width:1px;
font-weight:normal;
height:auto;
overflow:hidden;
padding:0 2px;
white-space:pre;
}
28/01/2010
18:49
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

You can do it without modifiyng the grid css. Just use this definition after the grid css file is loaded - i.e

// here grid css file is loded and then

<style>

jqgrid tr.jqgrow td {height:auto;}

</style>

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.

24/01/2011
19:03
Avatar
archan.bhatt
Member
Members
Forum Posts: 19
Member Since:
29/07/2010
sp_UserOfflineSmall Offline

Thanks Tony,

To works it in IE 6, this one is much better for me:

ui-jqgrid tr.jqgrow td {

      min-height: 20px;

      height: auto;

}

Thanks.

Archan

24/01/2011
19:03
Avatar
archan.bhatt
Member
Members
Forum Posts: 19
Member Since:
29/07/2010
sp_UserOfflineSmall Offline

Thanks Tony,

To works it in IE 6, this one is much better for me:

ui-jqgrid tr.jqgrow td {

      min-height: 20px;

      height: auto;

}

Thanks.

Archan

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
76 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information