Hi,
I'm getting the following error after loading data and binding them to the Scheduler:
TypeError: Cannot read properties of undefined (reading 'left')
at Q.Et (vendor.js:791137:30)
at keyboard.focusCell (vendor.js:791502:26)
at DayPilot.Scheduler.Zc (vendor.js:781981:48)
at R.doit (vendor.js:782007:255)
at R.request (vendor.js:781996:102)
at DayPilot.Scheduler.update (vendor.js:781992:11)
at DayPilotSchedulerComponent.ngDoCheck (vendor.js:793138:20)
at callHook (vendor.js:710321:12)
at callHooks (vendor.js:710264:9)
at executeCheckHooks (vendor.js:710173:3)
I can't tell exactly, when it happens. I'm calling the method focusCell only on selecting a range. And this works without an error.
onTimeRangeSelecting: (args) => {
// Update the keyboard focus during time range selection (cell click)
if (!args.row.data.frozen) {
this.scheduler.control.keyboard.focusCell(args.start, args.resource);
}
},
I attached my Scheduler configuration. Maybe you can spot the cause of this error.