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 ?
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?
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.
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