How to remove zebra striping from ng-grid

angularjs, javascript

Solution

Add this to your `style` to override the `zebra` css:

<style>
    .ngRow.even {
        background-color: rgb(255, 255, 255);
    }
    .ngRow.odd {
        background-color: rgb(255, 255, 255);
    }
</style>

This will make both rows white. Change it to whatever color you need.

Problem

Seems like this should be an easy thing to do, but I'm not finding it. An ng-grid is zebra striped by default, how do I remove it?

Original source