@trudb/tru-common-lib 0.2.244 → 0.2.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8097,8 +8097,9 @@ class TruDataGrid {
|
|
|
8097
8097
|
onCellKeyDown = (params) => {
|
|
8098
8098
|
if (!params.event)
|
|
8099
8099
|
return;
|
|
8100
|
-
|
|
8101
|
-
|
|
8100
|
+
let event = params.event;
|
|
8101
|
+
let editingCells = this.api.getEditingCells();
|
|
8102
|
+
if (event.code === 'Space' && !editingCells.length) {
|
|
8102
8103
|
event.preventDefault();
|
|
8103
8104
|
event.stopPropagation();
|
|
8104
8105
|
this.api?.startEditingCell({
|