Support Forum
It's not supported out of the box. Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8459
Pavlo Miklashevych
Sr. Frontend Developer
Everything is possible. Please override CellEdit.startEditing function:
class CellEditFeatureOverride {
static get target() {
return {
class : CellEditFeature,
product : 'gantt'
};
}
startEditing(cellContext = {}) {
const me = this;
if (!(me.editorContext || me.grid.readOnly || me.grid.disabled)) {
const normalizedContext = me.grid.normalizeCellContext(cellContext),
record = me.store.getById(normalizedContext.id);
if (record.name === 'Linda') {
return false;
}
}
return this._overridden.startEditing.call(this, cellContext);
}
}
Override.apply(CellEditFeatureOverride);
Pavlo Miklashevych
Sr. Frontend Developer
No it'll be part of the core package which the Gantt builds upon. Btw this ticket is now fixed, coming in the next release: https://app.assembla.com/spaces/bryntum/tickets/8459