@trudb/tru-common-lib 0.2.38 → 0.2.39
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.
|
@@ -5932,7 +5932,6 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5932
5932
|
displayValue = '';
|
|
5933
5933
|
copyIsDisabled = true;
|
|
5934
5934
|
pasteIsDisabled = true;
|
|
5935
|
-
lockSelection = false;
|
|
5936
5935
|
// private eGui: is an empty element to satisfy the getGui method.
|
|
5937
5936
|
eGui;
|
|
5938
5937
|
constructor(dataGridClipboard, util) {
|
|
@@ -5949,11 +5948,10 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5949
5948
|
this.contextMenu.openMenu();
|
|
5950
5949
|
};
|
|
5951
5950
|
onMouseDown = (event) => {
|
|
5951
|
+
};
|
|
5952
|
+
onMouseUp = (event) => {
|
|
5952
5953
|
event.stopPropagation();
|
|
5953
5954
|
event.preventDefault();
|
|
5954
|
-
if (this.lockSelection)
|
|
5955
|
-
return;
|
|
5956
|
-
this.lockSelection = true;
|
|
5957
5955
|
if (event.ctrlKey) {
|
|
5958
5956
|
if (this.params.node.isSelected())
|
|
5959
5957
|
this.params.node.setSelected(false, false);
|
|
@@ -5964,9 +5962,6 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5964
5962
|
this.params.node.setSelected(true, true);
|
|
5965
5963
|
}
|
|
5966
5964
|
};
|
|
5967
|
-
onMouseUp = (event) => {
|
|
5968
|
-
this.lockSelection = false;
|
|
5969
|
-
};
|
|
5970
5965
|
onCopy = (event) => {
|
|
5971
5966
|
let selectedRows = this.params.api.getSelectedRows();
|
|
5972
5967
|
if (selectedRows.length) {
|