🚀 Glide Data Grid is a no compromise, outrageously react fast data grid with rich rendering, first class accessibility, and full TypeScript support.
Hello all, I just noticed that onCellEdited fires for readonly cols when getCellsForSelection is set to true. It seems the bug was introduced with version 6 since I was not able to reproduce it on version 5.
Steps to reproduce it:
Add 2 cols - one enabled and one disabled for editing, with readonly prop
Add fillHandle
Add getCellsForSelection
Drag the handle from the column you can edit to the column that you are not allow to edit
Check on onCellEdited: it fires for the column that has readonly set to true
Hello all, I just noticed that
onCellEdited
fires forreadonly
cols whengetCellsForSelection
is set to true. It seems the bug was introduced with version 6 since I was not able to reproduce it on version 5.Steps to reproduce it:
readonly
propfillHandle
getCellsForSelection
onCellEdited
: it fires for the column that has readonly set to trueYou can reproduce it here as well: https://codesandbox.io/p/sandbox/lingering-glitter-xzj2fz?file=%2Fsrc%2FApp.tsx%3A62%2C2
If you remove/comment
getCellsForSelection
thenonCellEdited
doesn't fire and it works as expected.I'd expect that
onCellEdited
won't fire since the column is read only.