Use a Workweek scale within the Timeline View


I’m working on a project where I need to show each scale cell to represent a Monday - Friday workweek, hiding weekends. I’ve attempted this, but the events that should fill a M-F cell don’t fully extend to the end of the week cell. I’m assuming that this is because, even though I’ve used the scheduler.templates.ignore_timeline function to hide days 0 and 6, the framework is still calculating the widths of the events like the weekends are still there (meaning, only the scale is affected by that function.) I have created an example of this:


How do I change my methods (or the dhtmlxscheduler_timeline.js code) such that event (Jan 12 - Jan 16) will extend to the end of the cell?

Thanks in advance for your help!