I've used the OnIncludeCell event to hide time header cell based on simple logic as below.
This however stops the resize and drag of events from working and throws Uncought error inside the browser console.
Removing the OnIncludeCell it works perfectly.
How can I fix this?
protected void OnIncludeCell(object sender, DayPilot.Web.Ui.Events.Scheduler.IncludeCellEventArgs e)
if (e.Start.Hour < 6 || e.Start.Hour > 22)
e.Visible = false;