corvin
corvin

Reputation: 1

How to change the increment property dynamically in Bryntum scheduler

I'm trying to use bryntum scheduler.

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

Upvotes: -1

Views: 1655

Answers (1)

Mats Bryntse
Mats Bryntse

Reputation: 564

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

Upvotes: 0

Related Questions