Page 1 of 1

[ANGULAR] hide calendar event dynamicly

Posted: Thu Apr 08, 2021 5:58 pm
by Amiard brice

Hello,
Is it possible to remove all calendar events on condition dynamically. for exemple, i want hide my 1x8/2x8 calendar if the user has selected a preset "base on month".

Visually without this option it look"s like :

zoom_level-8.PNG
zoom_level-8.PNG (49.54 KiB) Viewed 590 times

And more important in this case html DOM is very big.

Of course i have try with resourceNonWorkingTimeFeature to false on condition, some configuration using filterBy, .... .

PS : all my events are configure with "manuallyScheduled to true" (we create our events using OrTools from google), even the calendars are based on a liste of events

thanks in advance


Re: [ANGULAR] hide calendar event dynamicly

Posted: Thu Apr 08, 2021 6:03 pm
by mats

How can we reproduce what you are seeing? Can you please share a simple test case?


Re: [ANGULAR] hide calendar event dynamicly

Posted: Thu Apr 08, 2021 6:20 pm
by Amiard brice

I have the same result as in your test case : https://www.bryntum.com/examples/scheduler-pro/resource-non-working-time/ with a big time line (1 year).

I think what i'm asked, is more like a feature request than a bug, It will be nice to have a sort of "display option" in calendarStore.
With this I could show the calendar or not according to my test conditions


Re: [ANGULAR] hide calendar event dynamicly

Posted: Thu Apr 08, 2021 6:30 pm
by mats

Reproduced, we'll get this fixed!


Re: [ANGULAR] hide calendar event dynamicly

Posted: Fri Apr 23, 2021 11:14 am
by Amiard brice

It looks like, it was fixed in 4.1.1, 2021-04-23, thanks a lot !!