Hi, very useful Addon,is it possible to disable some days ? or ad

Hi, very useful Addon,

is it possible to disable some days ? or add a dayRender method so I can check if the day is available ?

Thanks

Hi, it depends on what exactly is meant with "disabled days". Regarding selection or drag and drop entries?


There is a "selectAllow" callback on the client side (to set, if the user can select a date or not), for which we do not have Java side support at the moment.

https://fullcalendar.io/docs/selectAllow

The displayment of date slots is handled via callbacks, but here we also do not have Java support yet.

https://fullcalendar.io/docs/day-cell-render-hooks

For drag and drop or resize you can check the respective date and allow or disallow the data change on the server side.


I guess the easiest way to use these functions is to extend the client side class and implement the respective functionality yourself plus using the existing Java events for drop and resize. You can also of course create github enhancement tickets for the missing functions, but I cannot promise a nearby implementation (https://github.com/stefanuebe/vaadin-fullcalendar/issues).