@trudb/tru-common-lib 0.2.318 → 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();
|
|
@@ -8144,6 +8139,7 @@ class TruDataGrid {
|
|
|
8144
8139
|
}
|
|
8145
8140
|
}
|
|
8146
8141
|
}
|
|
8142
|
+
this.selectedRowCount = 'Selected: ' + this.api?.getSelectedRows().length;
|
|
8147
8143
|
};
|
|
8148
8144
|
onCellDoubleClicked = (cellData) => {
|
|
8149
8145
|
if (cellData.colDef.cellClass === 'ag-pk-aligned-cell') {
|