Our pure JavaScript Scheduler component


Post by LMS2021 »

I would like to disable right click on top of resource columns. However I still want right click and delete resource.

Attachments
ca1.png
ca1.png (4.59 KiB) Viewed 379 times
ca2.png
ca2.png (6.79 KiB) Viewed 379 times

Post by Maxim Gorkovsky »

Hello.
This is a controlled by https://bryntum.com/docs/gantt/api/Grid/feature/HeaderMenu feature:

features : {
  headerMenu : false
}

Post by LMS2021 »

Hi,
I'm using it following way in my code and its not reflecting in the scheduler.
Please let me know the right method to use it in my way of bryntum implementation in react.

 <BryntumScheduler
        features ={{
          headerMenu : false,
        }}
        ref={scheduler}
        zoomOnMouseWheel ={false}
        createEventOnDblClick = {false}
        zoomOnTimeAxisDoubleClick ={false}
        eventDragCreate = {false}
        enableHeaderContextMenu={false}
        />

Post by Maxim Gorkovsky »

This should do it

<BryntumScheduler headerMenuFeature={false}/>

Post Reply