@trudb/tru-common-lib 0.2.280 → 0.2.281
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.
|
@@ -7827,7 +7827,10 @@ class TruDataGrid {
|
|
|
7827
7827
|
});
|
|
7828
7828
|
if (!entityAlreadyInGrid) {
|
|
7829
7829
|
let enhancedEntity = this.enhanceRowDataForEntity(entity);
|
|
7830
|
-
|
|
7830
|
+
if (changeArgs.entity.Ref < 0)
|
|
7831
|
+
this.rowData.push(enhancedEntity);
|
|
7832
|
+
else
|
|
7833
|
+
this.rowData.unshift(enhancedEntity);
|
|
7831
7834
|
this.api.applyTransaction({ add: [enhancedEntity] });
|
|
7832
7835
|
}
|
|
7833
7836
|
}
|