Gantt Chart - Dynamic Lightbox fields

Hello.

Is it possible to change the fields / field types of a lightbox depending on the clicked/selected item?

Example: If I have a PROJECT and some (one level) TASKS under the project, can I have a lightbox which will accept project description value to be typed in a text field if a PROJECT is being edited? But if a TASK is being edited, my lightbox would show predefined task options via a drop down field?

//If PROJECT is selected, my lightbox should have below configuration:
gantt.config.lightbox.sections =
[
{name:“description”, height:70, map_to:“text”, type:“textarea”, focus:true},
{name:“time”, height:72, map_to:“auto”, type:“time”}
];

//If a TASK is selected, my lightbox should have below configuration:
gantt.config.lightbox.sections =
[
{name:“description”, height:70, map_to:“text”, type:“select”, focus:true,
options: [
{key:“Task#1”, label: “Task#1”},
{key:“Task#2”, label: “Task#2”},
{key:“Task#3”, label: “Task#3”}
]
},
{name:“time”, height:72, map_to:“auto”, type:“time”}
];

In dhtmlxGantt 2.1 ( you can download beta from the forum ). You can define different types of tasks ( project, milestone, event, etc. ), and for each type of task you can define separate lightbox configuration.

Thanks. Do you have the URL where dhtmlxGantt v2.1 can be downloaded? I tried browsing your site and only see a download link for dhtmlxGantt v2.0. :smiley:

Please disregard previous email. Just found it. Thanks again!