Home › Forums › Bugs › alternate row colouring not working
I set altRows: true and all rows remain the same color.
By deafult altRows are true. In some monitors the view of alt rows is bad. Please change the CCS to view the alt rows.
Line 537 reads as
if(i%2 == 1) row.className = cn; $(row).addClass(“jqgrow”);(Both statements are actually on one line.) Evaluating “i” in my application has it come up as undefined, so the “alt” class name, assigned via the “cn” variable never gets assigned.
Hello,
Which version do you use? I recommend you to switch to last one.
In previous version there was a such bug.
Regards
I am using version 3.2 and edited my previous post regarding this problem.
Line 512 includes the “each” function:
[…].each( function( j ) {Note the use of “j” as the counter.
Line 537 has:
if(i%2 == 1) row.className = cn;The reference here is to “i”.
Please switch to 3.2.4. This bug is corrected.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS