Page 1 of 1

[VUE] Why does the taskMenu and onEventSelectionChange no longer work when adding parent-child elements?

Posted: Tue May 17, 2022 5:10 pm
by po-igp

Hello,

we are currently using SchedulerPro with a combination of the resource histogram and the task demo.

We added the parent-child elements from the task demo to the left side of the scheduler (resources). After this implementation the taskMenu and onEventSelectionChange no longer work reliably.

1) Previously when clicking on any event, we could display in the console which event has been selected. For this we used onEventSelectionChange. We need this identification as a basis for our further procedure. After using parent-child elements, however, this no longer works.

2) Previously it was possible to open the taskMenu with a right click. Currently, this works sometimes and sometimes not.

What could be the reason for this?

Thanks.


Re: [VUE] Why does the taskMenu and onEventSelectionChange no longer work when adding parent-child elements?

Posted: Wed May 18, 2022 8:13 am
by tasnim

Hi,
Cannot reproduce it. Could you please provide a runnable test case (with a package.json file) so that we can run the Vue app and debug it?

Best regards,
Tasnim


Re: [VUE] Why does the taskMenu and onEventSelectionChange no longer work when adding parent-child elements?

Posted: Wed May 18, 2022 2:22 pm
by po-igp

Hello,
In the attachment you will find another version with package.json.

By the way, is there also a possibility to send you data for problem solutions on other ways? So that they are not publicly accessible to everyone.

Best regards


Re: [VUE] Why does the taskMenu and onEventSelectionChange no longer work when adding parent-child elements?

Posted: Fri May 20, 2022 5:44 pm
by tasnim

Hi,
I'm not able to run your app because of errors. Could you please provide a clean vue app that I can run without any errors?