@trudb/tru-common-lib 0.2.23 → 0.2.24
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.
|
@@ -7036,8 +7036,8 @@ class TruDataGrid {
|
|
|
7036
7036
|
loadedEntities = [];
|
|
7037
7037
|
latestSetupQuery;
|
|
7038
7038
|
firstSearchRan = false;
|
|
7039
|
-
rowCount = '';
|
|
7040
|
-
selectedRowCount = '';
|
|
7039
|
+
rowCount = 'Rows: 0';
|
|
7040
|
+
selectedRowCount = 'Selected: 0';
|
|
7041
7041
|
gridOptions = {
|
|
7042
7042
|
animateRows: false,
|
|
7043
7043
|
rowSelection: 'multiple',
|
|
@@ -7063,6 +7063,9 @@ class TruDataGrid {
|
|
|
7063
7063
|
onRowDataUpdated: () => {
|
|
7064
7064
|
this.config.viewMenuConfig.entities = this.getRowData();
|
|
7065
7065
|
this.config.viewMenuConfig.actionRefs = this.getRefs();
|
|
7066
|
+
let count = 0;
|
|
7067
|
+
this.api?.forEachNodeAfterFilter(() => count++);
|
|
7068
|
+
this.rowCount = 'Rows: ' + count;
|
|
7066
7069
|
},
|
|
7067
7070
|
onCellEditingStarted: (params) => {
|
|
7068
7071
|
if (params.colDef.cellEditorPopup && this.validationDialog)
|
|
@@ -7401,9 +7404,6 @@ class TruDataGrid {
|
|
|
7401
7404
|
this.setNoRowsTemplate();
|
|
7402
7405
|
this.api.showNoRowsOverlay();
|
|
7403
7406
|
}
|
|
7404
|
-
let count = 0;
|
|
7405
|
-
this.api?.forEachNodeAfterFilter(() => count++);
|
|
7406
|
-
this.rowCount = 'Rows: ' + count;
|
|
7407
7407
|
};
|
|
7408
7408
|
onCellMouseDown = (cellData) => {
|
|
7409
7409
|
this.rowSelectedOnMousedown = cellData.node.isSelected();
|