Our powerful JS Calendar component


Post by lanpeng »

Hi bryntum team,
I want to set timeResolution to "30 minutes" in calendar. I tried these code.But it dose not work.

viewPreset:{
      timeResolution : {                
unit : 'minute', increment : 30
}, }

Can these codes only be used in scheduler?


Post by alex.l »

Calendar view doesn't have viewPreset config. Try this https://bryntum.com/docs/calendar/api/Calendar/widget/DayView#config-increment

increment : '30 minutes'

All the best,
Alex


Post by lanpeng »

thanks alex
That's effective


Post Reply