In my case i have some task which have start_date as null but it takes it’s child or parent start date. how to restrict that and show those task with null start date?
Hello,
Projects ignore start and end dates, you can use auto_types config and projects without subtasks will be converted into tasks. And as soon as you add a subtask to any task, it becomes a project:
https://docs.dhtmlx.com/gantt/api__gantt_auto_types_config.html
Here is a sample:
https://docs.dhtmlx.com/gantt/samples/04_customization/19_task_type.html
but in that case it don’t allow me to change start or end date of parent task. i want to change that by drag and drop.
@mukesh1390, you can use drag_project
option:
https://docs.dhtmlx.com/gantt/api__gantt_drag_project_config.html
Here is the sample where you can drag projects:
https://docs.dhtmlx.com/gantt/samples/08_api/19_draggable_projects.html