@trudb/tru-common-lib 0.2.307 → 0.2.309
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.
|
@@ -6524,6 +6524,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
6524
6524
|
onMouseDown = (event) => {
|
|
6525
6525
|
};
|
|
6526
6526
|
onMouseUp = (event) => {
|
|
6527
|
+
this.params.api.clearFocusedCell();
|
|
6527
6528
|
};
|
|
6528
6529
|
onCopy = (event) => {
|
|
6529
6530
|
let selectedRows = this.params.api.getSelectedRows();
|
|
@@ -8118,6 +8119,8 @@ class TruDataGrid {
|
|
|
8118
8119
|
this.rowSelectedOnMousedown = cellData.node.isSelected();
|
|
8119
8120
|
};
|
|
8120
8121
|
onCellClicked = (cellData) => {
|
|
8122
|
+
};
|
|
8123
|
+
onRowClicked = (cellData) => {
|
|
8121
8124
|
let target = cellData.event.target;
|
|
8122
8125
|
if (!target.classList.contains('ag-cell-last-left-pinned')) {
|
|
8123
8126
|
cellData.api.deselectAll();
|
|
@@ -8143,13 +8146,11 @@ class TruDataGrid {
|
|
|
8143
8146
|
}
|
|
8144
8147
|
}
|
|
8145
8148
|
};
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
if (gridConfig.colDef.cellClass === 'ag-pk-aligned-cell')
|
|
8152
|
-
this.config.rowHeaderDoubleClicked(gridConfig);
|
|
8149
|
+
onCellDoubleClicked = (cellData) => {
|
|
8150
|
+
if (cellData.colDef.cellClass === 'ag-pk-aligned-cell') {
|
|
8151
|
+
if (!cellData.event.ctrlKey && !cellData.event.shiftKey)
|
|
8152
|
+
this.config.rowHeaderDoubleClicked(cellData);
|
|
8153
|
+
}
|
|
8153
8154
|
};
|
|
8154
8155
|
onCellKeyDown = (params) => {
|
|
8155
8156
|
if (!params.event)
|