Our pure JavaScript Scheduler component


Post by lgruszka »

Let's assume i have work on specific time range, for example 01.06.2021 - 30.06.2021.
Is there an option to disable calendar outside of this period?

The point is that the red area should be turned off, so that you can't add anything, you can't click on it.

Attachments
img.png
img.png (100.98 KiB) Viewed 447 times

Post by mats »

With Scheduler Pro, you can easily mark this time as non-working time which will prevent scheduling tasks on it. In basic Scheduler you would have to handle this yourself and prevent interactions like drag drop, dbl-click to create tasks using our API. Should be quite easy but up to you which path is the most desirable!


Post by lgruszka »

ok, i found that feature, but how can i config it?
in example on site https://www.bryntum.com/docs/scheduler-pro/#Scheduler/feature/NonWorkingTime saturday and sunday is disabled, but i can add event on it. I use scheduler pro.

pobrane.png
pobrane.png (72.7 KiB) Viewed 441 times

Post by pmiklashevich »

I use scheduler pro.

Then refer to SchedulerPro demo: https://www.bryntum.com/examples/scheduler-pro/non-working-time/
Please use Calendars to setup non working time: https://www.bryntum.com/docs/scheduler-pro/#SchedulerPro/guides/basics/calendars.md

Pavlo Miklashevych
Sr. Frontend Developer


Post by lgruszka »

OK, it works, thanks


Post Reply