Fixed an issue where Ctrl/Cmd+A in cell editor would select all rows. #8572

This commit is contained in:
Rohit Bhati authored and GitHub committed 2025-04-08 18:29:05 +05:30
1 parent 51897dc804
commit 2de2c30545
1 file changed
+1 -1
@@ -109,7 +109,7 @@ function CustomRow(props) {
dataGridExtras.onSelectedCellChange?.(null);
}
const handleKeyDown = (e)=>{
dataGridExtras.handleShortcuts(e);
if (e.target.role == 'gridcell') dataGridExtras.handleShortcuts(e);
if(e.code === 'Enter' && !props.isRowSelected && props.selectedCellIdx > 0) {
props.selectCell(props.row, props.viewportColumns?.find(columns => columns.idx === props.selectedCellIdx), true);
}