@trudb/tru-common-lib 0.2.33 → 0.2.35
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.
|
@@ -5948,15 +5948,17 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5948
5948
|
this.contextMenu.openMenu();
|
|
5949
5949
|
};
|
|
5950
5950
|
onMouseUp = (event) => {
|
|
5951
|
-
|
|
5952
|
-
if (
|
|
5953
|
-
this.params.node.
|
|
5954
|
-
|
|
5951
|
+
setTimeout(() => {
|
|
5952
|
+
if (event.ctrlKey) {
|
|
5953
|
+
if (this.params.node.isSelected())
|
|
5954
|
+
this.params.node.setSelected(false);
|
|
5955
|
+
else
|
|
5956
|
+
this.params.node.setSelected(true);
|
|
5957
|
+
}
|
|
5958
|
+
else {
|
|
5955
5959
|
this.params.node.setSelected(true, true);
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
this.params.node.setSelected(true, true);
|
|
5959
|
-
}
|
|
5960
|
+
}
|
|
5961
|
+
}, 0);
|
|
5960
5962
|
};
|
|
5961
5963
|
onCopy = (event) => {
|
|
5962
5964
|
let selectedRows = this.params.api.getSelectedRows();
|