Our pure JavaScript Scheduler component


Post by Nagesh@Apoorva.com »

Hi,

How to Disable Right Click option on Resource Fields left side of the Scheduler.

Please find the below screenshot as a reference.

Attachments
deleterecord.png
deleterecord.png (141.12 KiB) Viewed 937 times

Post by mats »

Please read this guide: https://bryntum.com/docs/scheduler/#guides/customization/contextmenu.md and https://bryntum.com/docs/grid/#guides/customization/contextmenu.md to learn about customization of menus.

const scheduler = new Scheduler({
    features : {
        // Turn the Event menu off completely, will not be created
        eventMenu : false,
        // Turn the Schedule menu off completely, will not be created
        scheduleMenu : false,
        // Turn the TimeAxis Header menu off completely, will not be created
        timeAxisHeaderMenu : false
    }
});

Post by striker »

I want to pin to the topic.
How to access to the Grid from SchedulerPro?
I want to disable cell menu.


Post by mats »

SchedulerPro subclasses the grid, so this will do it. See inheritance chain: https://bryntum.com/docs/scheduler-pro/#SchedulerPro/view/SchedulerPro

features : {
    cellMenu : false
}

Post by Nagesh@Apoorva.com »

features : {
    cellMenu : false
}

It's working, Thank you.


Post Reply