Our powerful JS Calendar component


Post by jaimevenegas »

Hi everyone,

I want to know if it is possible to declare date ranges where events cannot be created or dragged.

Regards.

Attachments
Available days.png
Available days.png (25.32 KiB) Viewed 179 times

Post by Animal »

This could be done with a validation callback configured into the calendar drag feature.

The documentation has an example (and some formatting errors which I will fix)

https://www.bryntum.com/docs/calendar/#Calendar/feature/CalendarDrag#config-validateCreateFn


Post by jaimevenegas »

Thanks for the reply.
Another question (maybe I have to do this in another post):

it is possible to add colors to Calendar like on Scheduler using times ranges?
For example:
https://www.bryntum.com/examples/scheduler/resourcetimeranges/

Attachments
add colors.png
add colors.png (74.33 KiB) Viewed 171 times

Post by mats »

This is on our todo list, you can track this feature: https://github.com/bryntum/support/issues/1166

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by jaimevenegas »

That would be great.


Post Reply