private getViewPreset(): any {
return {
timeResolution: {
unit: 'day',
increment: 1,
},
headers: [
{
unit: 'day',
align: 'center',
renderer: (startDate, endDate) => {
return `<div class="bob-date-column${this.selectedDay && this.selectedDay === dateToString(startDate) ? ' bob-header-clicked' : ''}">
<strong class="dd-mmm">${DateHelper.format(startDate, 'DD')}</strong>
<div class="ddd">${bottomDay}</div>
</div>`;
},
},
],
tickWidth: 28,
tickHeight: 54
};
}
when I add class in my HTML it does not look good (wanted a background for the whole header)