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
JqGrid - Limit row height size
15/12/2010
04:05
Avatar
sone
Member
Members
Forum Posts: 4
Member Since:
14/12/2010
sp_UserOfflineSmall Offline

Hi All

Is there a way to limit the size of row heights as when I have text that spans multiple lines its obviously creating an ugly offset. I know tabular data is more suited for the grid but I wish to make use of it for display just records for now and would like to keep the line heights consistent.

If text is too much overflowing it should simply be cut off. The picture below shows my issue

http://oi52.tinypic.com/250qxl2.jpg

Kind Regards Sone

13/05/2011
15:15
Avatar
Seroczynski
The Netherlands
Member
Members
Forum Posts: 17
Member Since:
10/02/2010
sp_UserOfflineSmall Offline

I'd like to know if this is possible as well.

14/06/2011
19:34
Avatar
mbv401920150
Heredia - Costa Rica
Member
Members
Forum Posts: 3
Member Since:
01/04/2011
sp_UserOfflineSmall Offline

Hi to all, I read your request and I have the same problem.

I found an alternative to this:

We can modify the CSS after that the page loads, then you can modify the property of the control that modify the height:

<!-- AVOID USE MULTI LINE IN THE ROWS OF THE JQGRID -->

<style type="text/css">

.ui-jqgrid tr.jqgrow td {

white-space:nowrap;

}

</style>

 

You can put this code after load the CSS that loads the style of the grid...

I hope that work for you... cheers.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
35 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