On my lightbox, I have only a couple fields to start a new project. I have The Description, Project Owner, Priority, the type (project, task, or milestone), and the duration. Pretty typical I think. However, when I select the type of “project”, I can no longer select a project owner or priority. What do I need to change so that I can select an owner on type project?
Hi,
each type of task(such as ‘task’ and ‘project’) uses it’s own configuration of the lightbox.
You need to update configuration of ‘project’ details formgantt.config.lightbox.project_sections = [
{name: "description", height: 70, map_to: "text", type: "textarea", focus: true},
{name: "type", type: "typeselect", map_to: "type"},
{name: "time", height: 72, type: "duration", readonly:true, map_to: "auto"}
];
It can have the same set of options as the gantt.config.lightbox.sections config. But note that duration control should have ‘readonly’ property enabled, since currently the project duration can’t be set directly.
docs.dhtmlx.com/gantt/desktop__t … oreachtype
Perfect, thank you. That did the trick.