We would like to change the state of the Gantt from read-only to editable when the user clicks a button. Do you have an example to change the behaviour of the Gantt on the fly for this?
Thank you for the answer. We've got this working. However I looks like setting the features.rowReorder does not respond correctly. When we initially set the Gantt to
readOnly = false and features.rowReorderset the Gantt to readOnly = false and features.rowReorder to true,
Re: Change Gantt from read-only to editable state
Posted: Thu Oct 03, 2019 1:23 pm
by Nualis
Hi Pavel,
Thank you for the answer. We've got this working. However it looks like changing the setting "features.rowReorder" does not respond correctly. We initially set the Gantt to
The Gantt is editable, however you cannot drag and drop the rows.
Re: Change Gantt from read-only to editable state
Posted: Tue Oct 08, 2019 11:43 am
by Nualis
Hi Pavel,
Any news on this ticket?
Re: Change Gantt from read-only to editable state
Posted: Tue Oct 08, 2019 2:03 pm
by sergey.maltsev
Hi!
Initially features are included/excluded through the features config like featureName: true. https://www.bryntum.com/docs/gantt/#Grid/view/mixin/GridFeatures
No need to add something like featureName: false if you don't require this feature and it is not enabled by default.
Thus features config should contain all features you are going to access at runtime.