Page 2 of 2
Re: [VUE 3] WeekView: Can't reposition event boxes via the eventRenderer() config
Posted: Fri Mar 31, 2023 7:17 pm
by ocratravis
Never mind. I had to do this:
class CustomDayLayout extends DayLayout {
static get type() {
return 'custom'
}
}
// https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-initClass-static
CustomDayLayout.initClass()
...and then I can just use:
eventLayout: { "type": "custom" }
Re: [VUE 3] WeekView: Can't reposition event boxes via the eventRenderer() config
Posted: Fri Mar 31, 2023 8:12 pm
by marcio
Glad that you make it ocratravis!
Please feel free to get in touch whenever you need assistance.
Re: [VUE 3] WeekView: Can't reposition event boxes via the eventRenderer() config
Posted: Sat Apr 01, 2023 4:48 pm
by Animal
ocratravis wrote: ↑Fri Mar 31, 2023 7:17 pm
Never mind. I had to do this...
Well done on digging into the class system. I just came by to tell you that but you got there first!