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