Our pure JavaScript Scheduler component


Post by frederick45 »

HI,

on my lwc (salesforce), i must to edit or drag and drop an event, i must double click on, how to just do a simple click ?

BR


Post by alex.l »

Does this that you are looking for?
https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventEdit#config-triggerEvent

The event that shall trigger showing the editor. Defaults to eventdblclick, set to '' or null to disable editing of existing events.

All the best,
Alex


Post by alex.l »

All the best,
Alex


Post by frederick45 »

ok, but i just want to modify config somewhere, not all trigger


Post by alex.l »

Not sure I got your requirements. Could you please describe the use case in more words?

All the best,
Alex


Post by frederick45 »

i want to open the editor, drag an event by simple click, and not double click


Post by alex.l »

i want to open the editor,

This is clear. See my response above.

drag an event by simple click, and not double click

This is not clear. How to drag event by double click?

ok, but i just want to modify config somewhere, not all trigger

This is also not clear. Do you want to open the editor by single click only for few events and not for all?

All the best,
Alex


Post by frederick45 »

to open the editor, or to drag and drop an event, i must double click on, i just want to simple click


Post by alex.l »

To open an editor by one click, try this

    createScheduler() {
        window.scheduler = new bryntum.scheduler.Scheduler({
            features: {
                eventEdit: {
                    triggerEvent : 'eventClick'

But this part I still don't understand

to drag and drop an event, i must double click on

Could you please make a video when you need to double click for dragging?

All the best,
Alex


Post by frederick45 »

you will not see the double click on a video


Post Reply