Our state of the art Gantt chart


Post by ahmad.siddique »

I have a requirement in which I have to show newly created tasks or existing tasks that does not have a endDate or duration in gantt.

PS: the task should be visible in both the Gantt and the columns.


Post by marcio »

Hey ahmad.siddique,

What's the expected behavior to display the task without an endDate or duration?

You could try displaying you should set the endDate to the same date as the startDate.

Best regards,
Márcio


Post by ahmad.siddique »

Thank you for taking out time and helping me in the issue marcio.

To further explain my point here the required behaviour is to show the task on gantt even if it does not have an endDate.
i cannot assign the startDate to endDate because in our system some tasks don't have defined endDate so assigning startDate as endDate would be misleading for the user.

i am looking for a work around by which i can show a task with null endDate.


Post by tasnim »

ahmad.siddique wrote: Mon Sep 18, 2023 3:00 pm

I have a requirement in which I have to show newly created tasks or existing tasks that does not have a endDate or duration in gantt.

PS: the task should be visible in both the Gantt and the columns.

Hi,

Please try setting the duration of a task to 0

Screenshot 2023-09-19 175643.png
Screenshot 2023-09-19 175643.png (183.62 KiB) Viewed 341 times

https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-duration


Post by ahmad.siddique »

tasnim wrote: Tue Sep 19, 2023 1:58 pm

Hi,

Please try setting the duration of a task to 0
Screenshot 2023-09-19 175643.png
https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-duration

unfortunately setting duration to 0 does not solve my problem.
when i set the duration to 0 days it sets the endDate same as my startDate. i want the endDate field to be null and don't show any value.


Post by marcio »

Hey ahmad.siddique,

Currently, we need to have duration or endDate to be possible to render a task, what is the expected behavior that you're looking for when the endDate is set to null?

Best regards,
Márcio


Post by ahmad.siddique »

marcio wrote: Wed Sep 20, 2023 12:29 am

Hey ahmad.siddique,

Currently, we need to have duration or endDate to be possible to render a task, what is the expected behavior that you're looking for when the endDate is set to null?

Thank you for taking out time and helping me in the issue marcio.

the required behaviour is to show the task on gantt as a small bar or a dot placed at startDate even if it does not have an endDate.

i am looking for a work around by which i can show a task with null endDate.


Post by marcio »

Hey,

We currently don't support that, but it's a nice to have feature, I created a ticket to implement that https://github.com/bryntum/support/issues/7536

Best regards,
Márcio


Post by ahmad.siddique »

marcio wrote: Wed Sep 20, 2023 6:39 pm

Hey,

We currently don't support that, but it's a nice to have feature, I created a ticket to implement that https://github.com/bryntum/support/issues/7536

Thank you. Eagerly waiting for it to be implemented


Post Reply