data grid: multiselect cells with shift+mouse

This commit is contained in:
Jan Prochazka
2021-10-14 11:17:37 +02:00
parent a3a9d00267
commit cd3a3033d7

View File

@@ -754,6 +754,8 @@
selectedCells = [...selectedCells, cell];
}
}
} else if (event.shiftKey) {
selectedCells = getCellRange(oldCurrentCell, cell);
} else {
selectedCells = getCellRange(cell, cell);
dragStartCell = cell;