ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: gib65 on January 11, 2016, 02:14:14 am

Title: how to get rows to alternate colors
Post by: gib65 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.
Title: Re: how to get rows to alternate colors
Post by: jeff_b 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.