Our pure JavaScript Scheduler component


Post by doonamis »

Hello!

I think I have wrong configuration on my scheduler, I currently have the snap property set to 5 minutes but once I start zooming out this value changes as then its 15min or 1hour, is there a way to mantain the snap value even if the zoom changes?

Thanks!

Post by pmiklashevich »

Hello,

You can provide an array of predefined zoomLevels: https://www.bryntum.com/docs/scheduler/#Scheduler/view/mixin/TimelineZoomable#config-zoomLevels
resolution and resolutionUnit are the values which are used for new viewpresets which are generated on the fly while zooming.

Current zooming system has been refactored. It will be a part of the upcoming release. Preset manager will represent a store. Zooming will use only view presets registered in the store. So you'll be able to predefine all possible viewpresets/zoomlevels for your application.
https://app.assembla.com/spaces/bryntum/tickets/9325-make-a-store-of-presetmanager-to-handle-view-presets-and-zooming/details

Cheers,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply