@trudb/tru-common-lib 0.2.240 → 0.2.242
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.
|
@@ -7818,6 +7818,10 @@ class TruDataGrid {
|
|
|
7818
7818
|
}
|
|
7819
7819
|
}));
|
|
7820
7820
|
this.subs.push(fromEvent(document, 'keydown').subscribe((event) => {
|
|
7821
|
+
if (event.code === 'Space') {
|
|
7822
|
+
event.preventDefault();
|
|
7823
|
+
return;
|
|
7824
|
+
}
|
|
7821
7825
|
if (this.config.view.active && this.config.view.window.active) {
|
|
7822
7826
|
let keySequence = this.util.getKeySequence(event);
|
|
7823
7827
|
if (keySequence === 'ctrl+i' || keySequence === 'meta+i') {
|
|
@@ -8078,9 +8082,6 @@ class TruDataGrid {
|
|
|
8078
8082
|
else
|
|
8079
8083
|
cellData.node.setSelected(true);
|
|
8080
8084
|
}
|
|
8081
|
-
else if (cellData.event.shiftKey) {
|
|
8082
|
-
let focusedId = this.rowFocuedOnMousedown.id;
|
|
8083
|
-
}
|
|
8084
8085
|
else {
|
|
8085
8086
|
cellData.api.deselectAll();
|
|
8086
8087
|
cellData.node.setSelected(true);
|