Looking to hire someone to help you implement Bryntum products? Or are you a consultant who want to offer your services? This is the forum for you.


Post by renangi100 »

Hi
I am adding below Scheduler Map - Want to disable CellMenu right click, cell need to be clickable, i dont want right click to show popup menu.

In Features added cellMenu as false, its not working, and also I don,t want to user delete the event (for example select event press delete button)

https://bryntum.com/products/schedulerpro/examples/maps/

Thanks
Madhu


Post by tasnim »

Hi,

I tried setting the cellMenu to false and it worked. How did you set that?
Please try the code below.

        features : {
            cellMenu : false
        },

Hope this helps.

Best regards,
Tasnim


Post by renangi100 »

cellMenu kept as false, not working
 const schedule = new Scheduler({
        ref: 'schedule',
        insertFirst: 'main',
        startDate: obj3.startDate,
        endDate: obj3.endDate,
        flex: 5,
        rowHeight: 80,
        barMargin: 4,
        eventColor: null,
        eventStyle: null,
       features : {
        filterBar  : true,
        cellMenu   :false      
},

Post by alex.l »

Hi,

Sorry for confusing, the correct feature to manage it is https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ScheduleMenu

Code

        features : {
            scheduleMenu : false
            // ...
        },

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by renangi100 »

alex
Not working, I copied and pasted, its not working
https://bryntum.com/products/schedulerpro/examples/maps/


Post by alex.l »

Checked again and it worked.
Please see video attached:
https://drive.google.com/file/d/1gGYXV8ToCU8ulTvpEzJt9F0V8nLY_3QR/view?usp=sharing

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by renangi100 »

alex

I want to disable right click on event, Now it is showing Menu with Edit, cut, copy, delete..

Thanks
Madhu


Post by alex.l »

Please see docs https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventMenu

Same as for scheduleMenu, just disable that feature.

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply