ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Grid (free version)
»
how to get rows to alternate colors
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to get rows to alternate colors (Read 2668 times)
gib65
Newbie
Posts: 3
how to get rows to alternate colors
«
on:
January 11, 2016, 02:14:14 am »
Hello,
I'm new to ParamQuery's PQGrid. I just downloaded it and I'm trying it out. It works great. One thing I can't figure out though is how to get the rows to alternate colors. Can someone help me out?
Thanks.
Logged
jeff_b
Newbie
Posts: 9
Re: how to get rows to alternate colors
«
Reply #1 on:
January 27, 2016, 01:34:48 am »
add the value
Code:
[Select]
stripeRows: true
into the object you pass into create the object. (Should be the same place you set the title, etc)
alternatively with jQuery after the object has been created
Code:
[Select]
$( "#grid_div_id" ).pqGrid( "option", "stripeRows", false );
I believe its only support for custom themes such as office (based on the note ' Currently this option is supported only for custom themes e.g. 'Office' theme.' on
http://paramquery.com/pro/api24
)
Disclaimer: I am not affiliated with paramquery just bored and wanting to help.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Grid (free version)
»
how to get rows to alternate colors