@trudb/tru-common-lib 0.2.317 → 0.2.319
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,11 +6524,9 @@ class TruDataGridPkeyCellRenderer {
|
|
|
6524
6524
|
onMouseDown = (event) => {
|
|
6525
6525
|
};
|
|
6526
6526
|
onMouseUp = (event) => {
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
//else
|
|
6531
|
-
// target.classList.add('ag-pkey-row-clicked-selected');
|
|
6527
|
+
let target = event.target.parentElement;
|
|
6528
|
+
if (this.params.node.isSelected())
|
|
6529
|
+
target.classList.remove('ag-row-focus');
|
|
6532
6530
|
};
|
|
6533
6531
|
onCopy = (event) => {
|
|
6534
6532
|
let selectedRows = this.params.api.getSelectedRows();
|
|
@@ -7671,9 +7669,6 @@ class TruDataGrid {
|
|
|
7671
7669
|
},
|
|
7672
7670
|
},
|
|
7673
7671
|
onSelectionChanged: (params) => {
|
|
7674
|
-
let count = 0;
|
|
7675
|
-
count = this.api?.getSelectedRows().length;
|
|
7676
|
-
this.selectedRowCount = 'Selected: ' + count;
|
|
7677
7672
|
},
|
|
7678
7673
|
onRowDataUpdated: () => {
|
|
7679
7674
|
this.config.viewMenuConfig.entities = this.getRowData();
|
|
@@ -8142,10 +8137,9 @@ class TruDataGrid {
|
|
|
8142
8137
|
cellData.api.deselectAll();
|
|
8143
8138
|
cellData.node.setSelected(true);
|
|
8144
8139
|
}
|
|
8145
|
-
cellData.event.stopPropagation();
|
|
8146
|
-
cellData.event.preventDefault();
|
|
8147
8140
|
}
|
|
8148
8141
|
}
|
|
8142
|
+
this.selectedRowCount = 'Selected: ' + this.api?.getSelectedRows().length;
|
|
8149
8143
|
};
|
|
8150
8144
|
onCellDoubleClicked = (cellData) => {
|
|
8151
8145
|
if (cellData.colDef.cellClass === 'ag-pk-aligned-cell') {
|