Timeline: custom styling for weekends without disabling them

I have a question regarding the Timeline component and the styling of weekend days.
I would like to apply a custom style to weekend days in the Timeline, for example a different background color, without setting disableWeekends=“true”.
I still need weekends to remain fully functional and selectable/editable, but I would like them to have a different visual appearance.
Is there a supported way to specify a custom CSS style or otherwise customize the appearance of weekend days while keeping weekends enabled?

Thank you.

Version v13.1p_2026-07-12/Pro Deployment (2026-07-12)

You could apply custom styling to the timelineView, via the LG method getCellCSSText(), like this:

timelineViewProperties: {
    getCellCSSText : function (record, rowNum, colNum) {
        var date = this.calendar.getCellDate(rowNum, colNum);
        var isWeekend = date && !this.calendar.dateIsWorkday(date, record.name);
        return isWeekend ? "background-color:red;" : "";
    }
}

Similarly, you could use view.getCellStyle() to return a custom style for weekends, if you prefer.

Thank you very much.