@trudb/tru-common-lib 0.1.976 → 0.1.977
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.
|
@@ -7122,10 +7122,13 @@ class TruDataGrid {
|
|
|
7122
7122
|
let isArrowUp = params.event.key === 'ArrowUp';
|
|
7123
7123
|
let isArrowLeft = params.event.key === 'ArrowLeft';
|
|
7124
7124
|
let isArrowRight = params.event.key === 'ArrowRight';
|
|
7125
|
+
let isSpace = params.event.key === 'Space';
|
|
7125
7126
|
let isShiftKey = params.event.shiftKey;
|
|
7126
7127
|
let isAltKey = params.event.altKey;
|
|
7127
7128
|
let focusedCell = params.api.getFocusedCell();
|
|
7128
7129
|
let hasChoices = params.data[params.column.getColId()] && params.data[params.column.getColId()].choices ? true : false;
|
|
7130
|
+
if (isSpace)
|
|
7131
|
+
return true;
|
|
7129
7132
|
if (params.column.isPinned()) {
|
|
7130
7133
|
if (isTabKey && !isShiftKey)
|
|
7131
7134
|
params.api.tabToNextCell();
|