Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sateesh on Nov 11, 2009 21:34
open dhtmlx forum
Calendar settings

Hello Sir,

I have downloaded and reviewed the DHTMLX Scheduler product. Do we have any options to change the default interval time when we are creating an event. Currently all events when try to create are 5 minutes. I want to specify the fixed minimum interval range which can be increased but not decreasing, i,e., if I want to set the interval range as 30 minutes the drop down should display only for example 9:00AM,9:30AM,10:00AM.........etc.

Also can I restrict the days for creating an event. Also do we have the options to not to capture the event in the same time slot.

Is there an option to specify the working hours for a particular day. Each individual day will have individual working hours. For example for Monday the working hours will be 9:00AM - 1:00PM and 2:00PM - 6:00PM, for Tuesday it will be 10:00AM - 12:30PM and 2:20PM - 5:00PM.

If there are no default settings is there any documentation to do all such things.

Thanks in advance.
Sateesh B.
Answer posted by Stanislav (support) on Nov 12, 2009 02:36
>> Do we have any options to change the default interval time when we are creating an event.
        scheduler.config.time_step = 30;  //default event length as 30 minutes
also, this and any other properties of event can be defined by using onEventCreated handler

>>Also can I restrict the days for creating an event.
Not possible, but you can use onEventCreated handler to change the date or time of newly created event to the allowed one.