Categories | Question details Back To List | ||
dhtmlxScheduler - Hours shown on the calendar Is there a way to only show say 8:00 to 17:00 on the day and week views? Can it be done much like the w-week example in the docs? I would like a tab that showed only Monday through Friday from 8am to 5pm. Answer posted by Support on Aug 28, 2009 01:26 You can configure start and end hours as scheduler.config.first_hour = 8; scheduler.config.last_hour = 17; It will affect all view where time scale is used. Answer posted by It seems to subtract one from last_hour on Aug 28, 2009 08:03 It seem to subtract one from the last_hour parameter. If you specify 17, it shows to 16. That might be expected as it might mean to show "Up to" 17:00 and not mean show 17:00 inclusively. Answer posted by Support on Aug 28, 2009 09:16 Yes, it is expected behavior, last_hour sets the top limit, so if you need to have 17 as selectable hour, you need to use last_hour = 18; |