namespace-ee / react-calendar-timeline

A modern and responsive react timeline component.
MIT License
1.93k stars 625 forks source link

Styling specific cells based on row and color #849

Open estherbarbara opened 2 years ago

estherbarbara commented 2 years ago

Is your feature request related to a problem? Please describe. I want to be able to color specific cells based on the row and color.

Describe the solution you'd like I know that horizontalLineClassNamesForGroup can style an entire row, but I would like to have a function that would receive not just the group, but the group and also the header time interval so I can style each cell in component. Here's a example of what I need (paint painted) image

aytech commented 2 years ago

how do you plan to style it? Timeline consists of horizontal and vertical rows, meaning you'd have to style just a part of a row/column, which I don't see possible. In your screenshot it looks like putting an item without description on the timeline will fix your problem, as you can style it any way you want