Our state of the art Gantt chart


Post by sachidanand »

Hello Team,

I want to turn off the eventEdit feature and right click feature on gantt events as shown in screenshot , how do we achieve that ?

Attachments
RightClick Feature.PNG
RightClick Feature.PNG (45.47 KiB) Viewed 545 times

Post by mats »

I want to turn off the eventEdit feature

Please see docs:
https://bryntum.com/docs/scheduler/#Scheduler/feature/EventEdit

Just set the feature config to false

features : {
    eventEdit : false
}

and right click feature on gantt events

Here's our guide showing you all about turning off context menus: https://bryntum.com/docs/scheduler/#Scheduler/guides/customization/contextmenu.md

Are you using Angular in your app? Or any other framework?


Post by sachidanand »

Hello Mats,

In scheduler selector(<bryntum-scheduler>) I have used these features , since in bryntum-scheduler selector we have features input property where we can pass "eventEdit: false" to disable eventEdit and "processItems" listeners to disable right click.

But here I am only using Bryntum-Gantt selector and "GanttConfig" does not contain any property with the name as eventEdit , so it's not allowing me to include this property itself.

Attached is the zip folder for your reference.

Attachments
gantt-schedulerpro.zip
(847.2 KiB) Downloaded 40 times

Post by mats »

Are you using Angular in your app? Or any other framework?


Post by sachidanand »

Hello Mats,

I am using angular 12 in my application.


Post by alex.l »

Hi sachidanand,

We have same guides for Gantt too, please check
https://bryntum.com/docs/gantt/guide/Gantt/customization/contextmenu
https://bryntum.com/docs/gantt/api/Gantt/feature/TaskEdit

And here is an article 'features' from Angular Integration Guide that contains the list of features for gantt wrapper:
https://bryntum.com/docs/gantt/guide/Gantt/integration/angular#features

So, basically you need to check taskEditFeature and cellMenuFeature.

All the best,
Alex


Post Reply