mleibman/SlickGrid — pull request #641 by kadamwhite (2013-06-19 19:31:46+00:00)
Title: Add option to enable zebra striping the grid in row groups of arbitrary size

I've been working on several projects where I need to create zebra stripes of different sizes, in order to allow more flexible visual grouping of rows within the grid. With the current API there doesn't seem to be an efficient way to do this, as our *most* performant solution involved iterating through all the rows on each `onScroll` event to calculate the row ID and reset classes appropriately.

Adding a `rowStripeSize` option that controls whether a given row is treated as "even" or "odd" lets us handle this use case without having to do any extra iteration. Re-using the existing `even` and `odd` CSS classes will automatically cause the zebra striping to pick up whatever styling the user has chosen.

I'm flexible on the naming of the option, or if you have a different approach for setting row styling that you think would be better I'd be interested to hear it.