Milestone problem with type

Hello,

I’m trying to use milestones on my Gantt but I can’t make it work.

I tried to follow this guide : docs.dhtmlx.com/gantt/desktop__milestones.html

So the first thing I do is adding the following code before the “gantt.init(“gantt_here”);” line :

gantt.config.lightbox.sections = [
{name: “description”, height: 70, map_to: “text”, type: “textarea”},
{name: “type”, type: “typeselect”, map_to: “type”},
{name: “time”, height: 72, type: “duration”, map_to: “auto”}
];

When I click on the “+” button to add a task, the “type” selector is not showing up in the lightbox. I have the description field, the time picker but not the type selector… Could you please tell me what to do?

Thanks.

Hi,
The code seems working in our samples
docs.dhtmlx.com/gantt/snippet/a032161f

Probably you use a free version of the component, does not support different types of tasks, you can request full functional evaluation version at sales@dhtmlx.com .

Hello,

Oh yes really sorry, I checked the doc a second time and I see that it’s only available for PRO users, that’s why it was not working, thanks!