KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Alternate row colours #211

Open Gary opened this topic on on Feb 2, 2018 - 1 comments

Gary commented on Feb 2, 2018

Hi, is there anywhere within css we can set alternate row colours for tables or grids?

I can set all row colours with .krpmRow but wanted alternating #fff / #ccc

Thanks

Gary commented on Feb 2, 2018

Think I answered my own question :)

tbody tr:nth-child(even) { background-color: #fff; ` }

tbody tr:nth-child(odd) { background-color: #e5e5e5; } `

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

Pivot