Our state of the art Gantt chart


Post by pmiklashevich »

I checked the code above against the latest nightlies. As I said above Gantt hasn't been release yet. Please download the latest nightly and make sure the code snippet I gave you works fine.

Pavlo Miklashevych
Sr. Frontend Developer


Post by SIM-LTD »

Hi Pavel,

First, we really appreciate your support and your competencies.

Secondly, we're sorry but we're not going to spend more hours in testing whether the current release or the online demo release or the nightly release works or not.

As a matter of fact, 97% of our post are purely issues whilst 3% is about tiny help.

Our project comprises both Scheduler & Gantt, and so far the Sync 'Partner' does not work at all;
Moreover, we have some serious issues posted 2 months ago and none of the releases issued so far fixed then.

Thus, we are sorry, we are not going to download any nightly build to test whether some issues are fixed.
Because most of the time the new release bring some other issues and as we said a couple weeks ago we can"t afford to spend to much time in posting issues. Actually, we are developing with Gantt 1.1.1 and yet you have launched Gantt 1.1.2, for which we have posted an issue very early (Ticket #8885: Tabsconfig is not taken into account by taskeditor), that wasn't in the release 1.1.1

Sorry if this post is long but we are struggling with too many issues and our project is going to enter is its critical phase if you cannot provide a Gantt & Scheduler release more stable and with those issue fixed.

PLEASE, SORRY FOR THIS LONG POST BUT WE NEED TO KNOW WHEN THE NEXT RELEASE OF THE GANTT WILL BE ISSUED.
A week ago in one post you told us that the next Gantt release will be issued in a week time
We are looking forward to having the new one and we do hope that it will come with some fixe

Hereunder are just the issues for the Gantt, we do have some more for the Scheduler :cry:
  • Gantt event "beforeremove" is not fired
    viewtopic.php?f=52&t=11300
    #8571: Node remove%28%29 doesn't fire beforeremove on the task store
  • Gantt event "beforeAdd" & beforeEventAdd" are not fired
    viewtopic.php?f=52&t=11890
    #8989: Task store %28tree store%29 does not fire documented beforeadd event
  • Dependencies are rendered backward when drawing
    viewtopic.php?f=44&t=11468#p61581
    #8729: When scheduler and gantt on the same page dependencies in scheduler are draw
    #8576: Support scheduler and gantt being partnered
  • All contextMenu are lost when the feature "dependencyEdit" is used
    viewtopic.php?f=44&t=11473
    #8722: No context menu shown when dependencies initialized as disabled

Post by SIM-LTD »

Hi

Sorry to come back with this issue but the last release Gantt 1.1.5 does not take into account "beforeRemoveChild " anymore; and this was effective in the release August 1.1.3.

Just to remind you, In August we were using "beforeremove" but that did not work at all and you mentioned that in the Gantt we should be using "beforeRemoveChild", so what we did. You said :
taskStore is a tree store, so using 'beforeRemove' is conceptually wrong. Please see beforeRemoveChild event:
Now in the last release Gantt 1.1.5, "beforeRemoveChild " does not work and we have to use "beforeremove" which now works.

Please have a look at the screenshot and if you want to test it just run the demo (https://www.bryntum.com/examples/gantt/basic/) and apply the code below :
gantt.taskStore.on({
  beforeRemoveChild({ records }) {
         console.log('Task beforeRemoveChild remove....', records)
    } ,
  beforeremove({ records }) {
         console.log('Task beforeremove remove....', records)
    }  
});
As you can within the online demo, the method "beforeremove" is fired whilst "beforeRemoveChild is not.

Thus, which one we must use once and for all ? :oops:
Attachments
Capture d’écran 2019-09-19 à 03.06.25.png
Capture d’écran 2019-09-19 à 03.06.25.png (204.77 KiB) Viewed 1395 times

Post by Animal »

On 15th we released Grid 2.2.2 which had this change
* BREAKING: Stores `beforeRemoveChild` event was removed. Removing child records in a tree store now triggers same
events as when removing records in a flat store (`beforeRemove`, `remove`, `change`).
I think this was specifically to address the issue you had with inconsistency between tree and non-tree stores.

Now they both fire the same events.

Post by SIM-LTD »

Thank you.
Hence, setting a listener with "beforeremove" will be fired whenever a Task (Child or not) Or Event, will be deleted from either the Gantt or Scheduler. Right?

Post by saki »

As of version 2.2.2 beforeRemoveChilde was removed. Here is the change log:
API CHANGES

BREAKING: Stores `beforeRemoveChild` event was removed. Removing child records in a tree store now triggers same events as when removing records in a flat store (`beforeRemove`, `remove`, `change`).

Post by SIM-LTD »

Thank you and sorry, we'll try to be more careful about the changes log.
Thank you for your support

Post Reply