Alternate row color, but grouped on first column value?
Alternate row color, but grouped on first column value?
siers
Posts: 1Questions: 1Answers: 0
Hi All,
Just wondering if there's a way to change how the alternating row color functions.
Currently it highlights each row on an odd/even - but what I'm hoping for is to highlight rows based on the first column?
I've had a look at the RowGroup extension - but don't want to actually 'group' then items with a header row.
Cheers,
Jeff.
Answers
There's nothing out of the box for that, but you could use an unstyled table (i.e. no
stripe
- see options here), and in thedraw
, run down the table and apply the classes to the column's cells based on the grouping.Colin