Our powerful JS Calendar component


Post by geoffswift »

When we double click the calendar to create an event, it will auto assign a resource. We're not sure how it decides which one to use, and would prefer to disable the feature. Is this possible through configuration or otherwise?


Post by alex.l »

Hi,

Created event should simply belong to one of calendars. You might add some resource named "Unassigned" to keep events out of resources you have.

All the best,
Alex


Post by Animal »


Post by geoffswift »

Confirmed that adding this to my config prevents the resource from being defaulted.

defaultCalendar: null

Thanks for the quick response.


Post by geoffswift »

Although setting defaultCalendar to null solved my initial problem, I've noticed this has a side-effect whereby the addEvent menu item becomes disabled.

This is readily reproducible in the demos, e.g. https://bryntum.com/products/calendar/examples/undoredo/

const calendar = new Calendar({
    defaultCalendar : null,

Post by tasnim »

Hi,

Thank you for your report. We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/7947

Best regards,
Tasnim


Post Reply