Draggable custom type

Hi All,

How can i make my custom type behave like project.
Like the project, when a child under it is resized, it also resize the parent project row.

Thanks,

Hi,
currently there is no public method to assign project-like behavior to a custom type.
You can remove start/end_date/duration properties of the task, that way it won’t have a fixed timing and will depend on a child items. If it won’t work - please post here, we’ll consider adding a public property or method

Hi,

I needed the start date and end date.
As a workaround, i manually calculated the lowest start date and highest end date and assign to the parent task and attached it to on drag events. But the problem is, there is a delay in updating gantt view.

Would appreciate if you could provide a nicer solution :slight_smile:

Thanks

Hi Sir,

It’s working by setting tasks “no_start” and “no_end” properties to true.

Thanks,