-1

I'm trying to use bryntum scheduler.

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

TylerH
  • 20,799
  • 66
  • 75
  • 101
corvin
  • 1
  • 2
  • Which property do you want to update? Are you trying to create your own ViewPreset? – Mats Bryntse Sep 14 '12 at 03:15
  • Well, I have Preset with the following headerConfig: ` middle: { unit: 'MINUTE', increment: 10, dateFormat: 'H:i' } ` but sometime I need to increase/decrease "interval" value. Is there any way to do this? – corvin Sep 17 '12 at 05:35

1 Answers1

0

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

Mats Bryntse
  • 564
  • 3
  • 12