How to change the increment property dynamically in Bryntum scheduler

1.6k Views Asked by At

I'm trying to use bryntum scheduler.

Is there any way to change Increment property dynamically or make a zoom in/out for it?

1

There are 1 best solutions below

0
On

I'd suggest creating additional presets for the configurations you need, then just call switchViewPreset to change between those. More info here:

http://www.bryntum.com/docs/#!/api/Sch.preset.ViewPreset

and here:

http://www.bryntum.com/docs/#!/api/Sch.preset.Manager

For zooming, check this example out: http://www.bryntum.com/examples/scheduler-latest/examples/zooming/zooming.html