tui.grid
tui.grid copied to clipboard
Enable editor with custom conditions
Summary Is possible to enable editor in grid only for some rows, for example only for the row that is selected in screenshot?
Screenshots
Version 4.21.2
Is anyone here?
@denaldhushi
Sorry for late replying. There is no options or API to enable editing on specific rows, but you can block editing the cell or row what you want to do like below.
grid.on('editingStart', (ev) => {
const { instance, rowKey, columnName } = ev;
if ( /* Condtion what you want to disable edit */ ) {
ev.stop();
}
});
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!