Hi there,
How can I put a custom CSS class to a resource. I want to change styling for specific resource name. See my attachment.
Best regards Tim
You can use onBeforeRowHeaderRender event handler to add a custom CSS class: https://doc.daypilot.org/scheduler/row-header-customization/
Example:
JavaScript
dp.onBeforeRowHeaderRender = function(args) { args.row.cssClass = "row1"; };
<style> .row1 { color: white; background: red; } </style>
You're awesome thanks