Our state of the art Gantt chart


Post by beotech »

Capture.PNG
Capture.PNG (25.01 KiB) Viewed 463 times

Use case:

  • set 'must start on' constraint on a task

  • modify the start date with the start date column

  • click outside the cell to validate the change

  • observe that the selected date has been replaced with the original date

Is this normal behaviour or a bug ?

If this is normal behaviour, we would like to inform the end user this is not a bug by displaying a message saying that the date has been reverted back to its original value due to the constraint.

How can we achieve that ? Is there an event we can listen to ? Or any other way ?


Post by alex.l »

Hi beotech,

This is an expected behaviour. To notify a user you should listen to schedulingconflict event as we discussed it here: viewtopic.php?f=52&t=17292&p=85944#p85944

But there is a bug that we are working on already https://github.com/bryntum/support/issues/2766
It have to be fixed before you'll be able to use this event.

All the best,
Alex

All the best,
Alex


Post by beotech »

Hi, I created another ticket because for me it's 2 different topics in the end :

The first one is about the bug you mention, which prevents us from listening to the schedulingconflict event for now.

The second is that even if we were able to listen to the schedulingconflict event, the use case I describe in this ticket does not trigger it.

I don't think the bug fix will solve both problems here...
Or if it will, then the title and description do not mention the second use case.


Post by alex.l »

I checked it in the branch with the fix for https://github.com/bryntum/support/issues/2766 that I am working on and it does trigger that event there. I will check it with more scenarios to make sure it 100% works.

All the best,
Alex


Post Reply