Our pure JavaScript Scheduler component


Post by nico-lgtech »

Hello,

How i can disable the add event and remove event on right click ?

Thanks
Attachments
scheduler.png
scheduler.png (49.25 KiB) Viewed 739 times

Post by pmiklashevich »

Please see https://www.bryntum.com/docs/scheduler/#Scheduler/feature/ScheduleContextMenu
const scheduler = new Scheduler({
    features : {
        scheduleContextMenu : {
            items : {
                addEvent : false
            }
        }
    }
});
https://www.bryntum.com/docs/scheduler/#Scheduler/feature/EventContextMenu
const scheduler = new Scheduler({
    features : {
        eventContextMenu : {
            items : {
                deleteEvent   : false,
                unassignEvent : false
            }
        }
    }
});

Pavlo Miklashevych
Sr. Frontend Developer


Post by nico-lgtech »

Thanks :D

Post Reply