Our powerful JS Calendar component


Post by jnarowski »

Hello Bryntum team

I'm having issues with my calendar event rendering. I changed the

renderData.eventHeight = '35px'

property and it's working but apparently in the final html the top value for the events is not adapting to this new height value. Not sure which property should I update to fix this so appreciate some help here

Top value for the events are 25 and 47 as if the

eventHeight

was still 20. Not 35

Thanks!!

Attachments
Screen Shot 2023-05-30 at 12.22.25 PM.png
Screen Shot 2023-05-30 at 12.22.25 PM.png (10.53 KiB) Viewed 171 times
Screen Shot 2023-05-30 at 12.20.42 PM.png
Screen Shot 2023-05-30 at 12.20.42 PM.png (9.73 KiB) Viewed 171 times

Post by Animal »

Configure it into the view so that it knows .


Post by jnarowski »

Can you provide a code example of this so we know where to add it?


Post by marcio »

Hey jnarowski,

You can bind like this

<bryntum-calendar
        ref="calendar"
        v-bind="calendarConfig"
        :modes="{
            month: {
                eventHeight: '40px'
            },
        }"
    />
Attachments
Screenshot 2023-05-30 at 17.57.34.png
Screenshot 2023-05-30 at 17.57.34.png (347.56 KiB) Viewed 145 times

Best regards,
Márcio


Post Reply