Our pure JavaScript Scheduler component


Post by hlabatf@colas.com »

Hello,

I want to used

copyPasteAction: 'clone'

with events and assignements. But a CTRl+C and CTRL+V only assign, it doesn't copy only. I have attached a basic example.

You will find the option in the file weeklyJobPlannerPage.js line 201509.

Best regards

Attachments
Screenshot 2024-03-12 134132.png
Screenshot 2024-03-12 134132.png (45.84 KiB) Viewed 226 times
basic.zip
(2.01 MiB) Downloaded 17 times

Post by marcio »

Hey hlabatf,

Thanks for reaching out and for the example. Could you provide more information regarding how to run that example? I tried to run locally but wasn't able to see a working example.

The clone is the default action of eventCopyPaste, as you can see in the docs https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventCopyPaste#config-copyPasteAction

What do you mean by only assign? Testing on our basic demo works as expected https://bryntum.com/products/scheduler/examples/basic/

Best regards,
Márcio


Post by hlabatf@colas.com »

Hello Márcio,

Do npm update to get bryntum and libraries.

You use live server

Screenshot 2024-03-12 174000.png
Screenshot 2024-03-12 174000.png (11.3 KiB) Viewed 212 times

in VSCode

and launch with the linked underlineon the attached image

Screenshot 2024-03-12 173947.png
Screenshot 2024-03-12 173947.png (214.51 KiB) Viewed 212 times

and launch the url http://127.0.0.1:5500/


Post by marcio »

Hello,

Thanks for the explanation, I was able to run your demo.

There is a lot of code there, so it's difficult to understand what could be causing the behavior. Are you using a custom action on your eventStore? I tried searching in the gigantic code but had no luck.

Could you reproduce the behavior in one of our demos? Or share a clear example, without the source code of other libs inside of the app code.

Best regards,
Márcio


Post by hlabatf@colas.com »

Sorry, indeed the project is big now. I will try but don't have lot of time.


Post by ghulam.ghous »

Hi there,

We understand that. But it is almost impossible for us to debug that big of an application. As Marcio mentioned you should try adding the minimum config inside our online demos and try to reproduce this issue. You can add config related to copyPasteAction: 'clone' in any of our demos and see the behaviour. Here's a link to our demos: https://bryntum.com/products/scheduler/examples/


Post Reply