Our pure JavaScript Scheduler component


Post by Exigo »

Hello

We have just upgraded to 5.2.2 and have a lot of non working time that we want to hide, but still have the grey bars on weekends for example.

Is there for us to do that without it ending up in this:

MicrosoftTeams-image.png
MicrosoftTeams-image.png (47.74 KiB) Viewed 215 times

The same thing can be found in this example:
https://bryntum.com/examples/scheduler-pro/non-working-time/

We can disable the feature nonWorkingTime or give the lineCls an empty css slass, but it seems a bit weird.

Cheers
Andreas @ Exigo


Post by alex.l »

Hi Andreas,

Sorry it's not clear what did you do and what happened.
Could you please describe steps to reproduce, actual result and expected result?
If you want to remove all elements, try to disable nonWorkingTime feature together with filtering.

schedulerPro.features.nonWorkingTime.disabled = true;

All the best,
Alex


Post by Exigo »

The same thing happens in your example when filtering:

https://bryntum.com/examples/scheduler-pro/non-working-time/¨

Screenshot 2022-11-18 095740.png
Screenshot 2022-11-18 095740.png (43.46 KiB) Viewed 196 times

The yellow lines and banners cannot be disabled.

I've fixed it with the workaround of setting the line-cls to something else. If that is the solution we will just go with that :)

Cheers
Andreas @ Exigo


Post by tasnim »

To achieve that you can disable and enable the nonWorkingTime feature

schedulerPro.features.nonWorkingTime.disabled = true;

Please check the gif below

Attachments
chrome_zGtqKuY4Q0.gif
chrome_zGtqKuY4Q0.gif (1.18 MiB) Viewed 186 times

Post by Exigo »

Yes, but this is not possible if you want to show weekends as grayed out days but still hide nonworking time between weekdays with filter.

We'll continue with the empty CLS string for now.

Cheers
Andreas


Post Reply