Our powerful JS Calendar component


Post 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" }

Post by marcio »

Glad that you make it ocratravis!

Please feel free to get in touch whenever you need assistance. :)

Best regards,
Márcio


Post 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!


Post Reply