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
Grid row auto height?
12/08/2010
23:01
Avatar
cyclone3d
Member
Members
Forum Posts: 10
Member Since:
12/08/2010
sp_UserOfflineSmall Offline

Is there a way to make the grid rows change height if the data in a cell is too long to fit on one line?

13/08/2010
15:57
Avatar
ram2010
Member
Members
Forum Posts: 43
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

this is a great idea... and would make the grids look very neat and tidy...I would also like to implement this in my app if it exists.

anyone know if this can be done?

13/08/2010
20:08
Avatar
cyclone3d
Member
Members
Forum Posts: 10
Member Since:
12/08/2010
sp_UserOfflineSmall Offline

After doing extensive searching, I was able to find a post that said how to do this.

Open up the ui.jqgrid.css file and change the 3rd line in the /* body */ section to this:

.ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: normal !important; height:22px; padding: 0 2px 0 2px;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}

The only difference is that "white-space:" is changed from "pre" to "normal !important".

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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