I am outputting a jqGrid and need to alternate row colors but rather than the common every-other-row, I need to alternate every-two-rows. Two rows of one color, followed by two rows of another color and then switch back to the first color and so on...
Here's a sample of what I need to achieve...
Sample grid:
+-------------------+
| row color 'black' |
| row color 'black' |
| row color 'white' |
| row color 'white' |
| row color 'black' |
| row color 'black' |
| row color 'white' |
| row color 'white' |
+-------------------+
Seems there must be more to it than jqGrid's altRows and altclass.
Thoughts?
Thanks.