Our powerful JS Calendar component

Post by max »

Hello all !

I'm using the Calendar lib, in react ts.

When I create a new event the default duration is 1 hour.

Is it possible to change this duration ?

Post by tasnim »


Thanks for reaching out.

Looks this is not configurable. I've opened feature request to make it configurable here https://github.com/bryntum/support/issues/9431

Best regards,

Post by Animal »

The double click (and that gesture is configurable) event creation actions are fully customisable using this configuration option: https://www.bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate

So accepting all defaults but overriding what you want:

autoCreate: {
    duration : ‘2 h’

Post Reply