Hi
We have a dropdown column in a grid but for every other cell in this column we'd like to disable the dropdown editor and instead render a value derived from the values of other cells in the grid.
Can this be done?
Thanks
Ben
Support Forum
Please see the docs of CellEdit feature. To prevent editing in a specific cell, listen to the beforeCellEditStart and return false. For example:
grid.on('beforeCellEditStart', ({ editorContext }) => {
return editorContext.column.field !== 'id';
});
Pavlo Miklashevych
Sr. Frontend Developer