stop auto scheduling of tasks after a specific date

Hi,

Like dragging tasks within a timeline is there any way where we can have a date defined and when that date is reached, all the tasks should not be allowed to auto schedule after that particular date?

thanks,

Hello,
you add use the ‘readonly’ property to tasks.

Documentation:
http://docs.dhtmlx.com/gantt/api__gantt_readonly_config.html
http://docs.dhtmlx.com/gantt/desktop__readonly_mode.html

Also you can use event “onBeforeTaskAutoSchedule” and disable autoscheduling, when date is reached.
http://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskautoschedule_event.html

thanks

thanks