Our powerful JS Calendar component

Post by Srb »

On scheduler I have a piece of code like this... and is working.

.ts eventRenderer = ({ eventRecord }) => { if(......... }

Where I need to place on calendar implementation? because if try to do in the same way it returns me an error...

1. If 'bryntum-calendar' is an Angular component and it has 'eventRenderer' input, then verify that it is part of this module.
2. If 'bryntum-calendar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.


Post by marcio »

Hey Srb,

You need to configure inside the modes configuration, like the following (as an example):

modes : {
        agenda : {
            eventRenderer : ({ eventRecord }) => {
                console.log('eventRecord', eventRecord);

Best regards,

Post by Srb »

Good morning Marcio, that works!, just what I need! thank's.

Post Reply