Material-table: Zebra rows support

Created on 14 Jun 2019  路  3Comments  路  Source: mbrn/material-table

Is your feature request related to a problem? Please describe.
I added zebra (striped table rows) via CSS hovewer it's not fully correctly worked, because when I enable filtering, the filtering row counts as the row of the table.

Describe the solution you'd like
Add classes to use background colors for data rows (odd, even). It would be great to have simple possibility to add "zebra". For example by adding one class for the table. Forexample:
className="table-striped"

Describe alternatives you've considered
alternative is CSS :nth-child(odd)

As an example Bootstrap table striped rows:
https://getbootstrap.com/docs/4.0/content/tables/#striped-rows

enhancement

Most helpful comment

Hi @vk-rpp

This is in my roadmap. It will be ready asap.

All 3 comments

Hi @vk-rpp

This is in my roadmap. It will be ready asap.

Any update from this enhancement?

Was this page helpful?
0 / 5 - 0 ratings