Current behavior
- Windows/Linux: Pressing Backspace on a selected cell starts cell editing.
- macOS: Pressing Backspace on a selected cell deletes the cell content.
Expected behavior
In standard spreadsheet applications like Excel or Google Sheets, pressing Backspace while a cell is selected deletes the cell’s content.
I expected AG Grid to behave the same way across all platforms.
Question
Why does AG Grid not allow Backspace to act as a delete key on Windows/Linux?
What is the reasoning behind this design decision?
Related Code
function _isDeleteKey(key: string, alwaysReturnFalseOnBackspace = false) { if (key === KeyCode.DELETE) { return true; } if (!alwaysReturnFalseOnBackspace && key === KeyCode.BACKSPACE) { return _isMacOsUserAgent(); } return false; }