fullcalendar-workspace
fullcalendar-workspace copied to clipboard
Add ClassName to ResourceCellHtml
Add the possibility to add a class name to the th cell depending the resource. exemple : resource : [ { id: 'a', title: 'Room A', cellClassName: 'backup' }, { id: 'b', title: 'Room B', cellClassName : 'first' }]
HTML result : < th class="fc-resource-cell backup" data-resource-id="a">Room A< /th> < th class="fc-resource-cell first" data-resource-id="b">Room B< /th>
Hello, can I have any update regarding this PR ?
Thanks in advance for your reply.
Thanks. this PR is most closely related to this issue ticket: https://github.com/fullcalendar/fullcalendar-scheduler/issues/125
Before merging this, it would be great to have the following:
- have the className also work in timeline view
- have the className not just apply to the header (or in timeline's case, the left area), but also the main area of the resource. If you want to style just the header, you can use a combination of CSS selectors.