@trudb/tru-common-lib 0.2.292 → 0.2.293

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.
@@ -8144,16 +8144,18 @@ class TruDataGrid {
8144
8144
  if (!target.classList.contains('ag-cell-last-left-pinned')) {
8145
8145
  rowData.api.deselectAll();
8146
8146
  }
8147
- if (!rowData.event.rowData) {
8148
- if (rowData.event.ctrlKey) {
8149
- if (this.rowSelectedOnMousedown)
8150
- rowData.node.setSelected(false);
8151
- else
8147
+ else {
8148
+ if (!rowData.event.shiftKey) {
8149
+ if (rowData.event.ctrlKey) {
8150
+ if (this.rowSelectedOnMousedown)
8151
+ rowData.node.setSelected(false);
8152
+ else
8153
+ rowData.node.setSelected(true);
8154
+ }
8155
+ else {
8156
+ rowData.api.deselectAll();
8152
8157
  rowData.node.setSelected(true);
8153
- }
8154
- else {
8155
- rowData.api.deselectAll();
8156
- rowData.node.setSelected(true);
8158
+ }
8157
8159
  }
8158
8160
  }
8159
8161
  };