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_Related Related Topics sp_TopicIcon
cellattr - cannot set font-weight
20/10/2011
17:40
Avatar
ddavisla
Member
Members
Forum Posts: 4
Member Since:
12/08/2011
sp_UserOfflineSmall Offline

I'm using the wonderful cellattr to set the class of a cell based on it's contents, but the font-weight attribute is overwritten by the grid.  Here is the css from Firebug:

.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;
}

ui.jqgrid.css (line 33)

.status-none-ass {
    background-color: #C98858;
    color: #562400;
    font-weight: bold;
}
What you can't see here is that the font-weight: bold in the .status-none-ass class has strikethrough and is overwritten by the font-weight: normal in the .ui-jqgrid tr.jqgrow td setting above it.
20/10/2011
18:48
Avatar
ddavisla
Member
Members
Forum Posts: 4
Member Since:
12/08/2011
sp_UserOfflineSmall Offline

I found I can force the cellattr font-weight to take affect if I put !important in the class for that attribute.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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