@trudb/tru-common-lib 0.2.278 → 0.2.280
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.
|
@@ -7985,11 +7985,14 @@ class TruDataGrid {
|
|
|
7985
7985
|
}
|
|
7986
7986
|
else {
|
|
7987
7987
|
let enhancedEntity = this.enhanceRowDataForEntity(newEntity);
|
|
7988
|
-
|
|
7989
|
-
|
|
7988
|
+
if (dataNotification) {
|
|
7989
|
+
this.rowData.unshift(enhancedEntity);
|
|
7990
7990
|
this.api.applyTransaction({ add: [enhancedEntity] });
|
|
7991
|
-
|
|
7991
|
+
}
|
|
7992
|
+
else {
|
|
7993
|
+
this.rowData.push(enhancedEntity);
|
|
7992
7994
|
this.api.applyTransaction({ add: [enhancedEntity], addIndex: 0 });
|
|
7995
|
+
}
|
|
7993
7996
|
}
|
|
7994
7997
|
};
|
|
7995
7998
|
getMergeData = (config, entityToValidate) => {
|