handsontable
handsontable copied to clipboard
Unable to delete data from multiple columns if most-left column is of type checkbox
Description
It is not possible to delete data from multiple columns at once (by selecting them and pressing "delete" key) if the column most to the left happens to be of type checkbox
Steps to reproduce
- Select a column of type checkbox and at least one other column to the right (number of rows does not matter)
- Press "delete" from the keyboard
- Observe that data has not been deleted
Please see the recording for your reference; as you can see this is happening to me on the official demo (https://handsontable.com/demo)
https://user-images.githubusercontent.com/23139974/179840952-30a9aa49-eb71-47d3-a905-79702b2b87a6.mov
Demo
Not making a dedicated demo since this can be observed on any of your sandboxes, for example: https://codesandbox.io/s/handsontable-javascript-data-grid-hello-world-app-forked-zee1jw?from-embed (However if you'd like me to make a dedicated JSFiddle, let me know and I'd be happy to)
Your environment
- Handsontable version: 12.0.0
- Browser name and version: Chrome 103.0.5060.114
- Operating system: macOS Monterey 12.1
Hi @majakudlicka
Thank you for reporting this issue. It certainly isn't the correct behavior, and selected rows should be cleared out regardless of the selected cell type in the range.
I created a simplified example to show the issue:
https://jsfiddle.net/aszymanski/5qkx9bcu/1/