Our pure JavaScript Scheduler component


Post by erobishaw »

I want timeResolution to always be {unit:'hour', increment: 1} , regardless of what zoom level / preset the scheduler is on.
As the user zooms in and out... I still need any moves of elements to use 1 hour resolution...
I've tried registering a preset... and setting to that one (PresetManager.registerPreset..., etc.)
But the preset gets changed automagically by the grid when the user zooms in/ out.
I need 1 hour resolution no matter how zoomed out the user is.

Post by saki »

Technically, zooming is just changing the predefined presets. You would need to change timeResolution in all of them to achieve what you want.

Post Reply