Available only in PRO Edition
This functionality is available in the PRO Edition only.
A complex control used to set time constraints for Gantt tasks.
gantt.config.lightbox.sections = [
{ name:"description", height:38, map_to:"text", type:"textarea", focus:true},
{ name:"constraint", type:"constraint" }, { name:"time", type:"duration", map_to:"auto" }
];
Related sample: Auto-Schedule From Project Start & Constraints
To add the constraint control to the lightbox, follow the steps below:
1. Add a section to the lightbox configuration:
gantt.config.lightbox.sections = [
{ name:"description", height:38, map_to:"text", type:"textarea", focus:true},
{ name:"constraint", type:"constraint" }, { name:"time", type:"duration", map_to:"auto" }
];
2. Set a label for the section:
gantt.locale.labels.section_constraint = "Constraint";
Related sample: Auto-Schedule From Project Start & Constraints
The following properties are mostly important and commonly set for the constraint control (see the full list here):