@trudb/tru-common-lib 0.2.283 → 0.2.284
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.
|
@@ -7649,6 +7649,7 @@ class TruDataGrid {
|
|
|
7649
7649
|
},
|
|
7650
7650
|
animateRows: false,
|
|
7651
7651
|
rowSelection: 'multiple',
|
|
7652
|
+
enableClickSelection: true,
|
|
7652
7653
|
rowStyle: { background: 'white' },
|
|
7653
7654
|
loadingOverlayComponent: TruDataGridLoadingOverlay,
|
|
7654
7655
|
loadingOverlayComponentParams: {
|
|
@@ -8130,18 +8131,17 @@ class TruDataGrid {
|
|
|
8130
8131
|
cellData.api.deselectAll();
|
|
8131
8132
|
}
|
|
8132
8133
|
else {
|
|
8133
|
-
if (!cellData.event.shiftKey) {
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
}
|
|
8134
|
+
//if (!cellData.event.shiftKey) {
|
|
8135
|
+
// if (cellData.event.ctrlKey) {
|
|
8136
|
+
// if (this.rowSelectedOnMousedown)
|
|
8137
|
+
// cellData.node.setSelected(false);
|
|
8138
|
+
// else
|
|
8139
|
+
// cellData.node.setSelected(true);
|
|
8140
|
+
// } else {
|
|
8141
|
+
// cellData.api.deselectAll();
|
|
8142
|
+
// cellData.node.setSelected(true);
|
|
8143
|
+
// }
|
|
8144
|
+
//}
|
|
8145
8145
|
}
|
|
8146
8146
|
};
|
|
8147
8147
|
onCellDoubleClicked = (gridConfig) => {
|