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
Row Striping / Highlighting
25/06/2009
23:30
Avatar
jkarlen
Member
Members
Forum Posts: 7
Member Since:
25/06/2009
sp_UserOfflineSmall Offline

I have a grid where I need to draw emphasis (different background color, etc.) to certain rows based on conditions.  Is this possible with jqGrid?

27/06/2009
11:40
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Yes. This is possible.

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.

29/06/2009
06:58
Avatar
Corrado
Italy - Milano
Member
Members
Forum Posts: 16
Member Since:
22/05/2009
sp_UserOfflineSmall Offline

Sure you can do it!

Search afterInsertRow and setCell methods in documentation or forum.

I hope I have been helpful

02/07/2010
12:08
Avatar
Fancellu
Member
Members
Forum Posts: 16
Member Since:
02/07/2010
sp_UserOfflineSmall Offline

Is there a simple way to just ask for different background colours on odd/even rows?

Thanks.

02/07/2010
18:59
Avatar
Reg
Calgary, Canada
Member
Members
Forum Posts: 92
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

Yes, in the documentation look for altRows and altClass: under Documentation -- Basic Grid -- Options

Reg

05/07/2010
13:42
Avatar
Fancellu
Member
Members
Forum Posts: 16
Member Since:
02/07/2010
sp_UserOfflineSmall Offline

Thanks for the info.

Got stripes now, e.g.

.ui-priority-secondary td
{
 background-color: #EEEEEE    
}

...

altRows:true

But now the row hover doesn't work on those secondary alt rows. What am I doing wrong?

I can see this post, but doesn't seem to help, alt rows still show no hover effect.

http://www.trirand.com/blog/?p.....8;search=1

Thanks.

.ui-priority-secondary td
{
 background-color: #EEEEEE    
}
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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