You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.The text was updated successfully, but these errors were encountered: