@coolon/angular-ui-powerups 14.6.3 → 14.7.0
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.
- package/esm2020/lib/components/tables/abstract-table-model.mjs +6 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs +5 -0
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +5 -0
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3350,6 +3350,11 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3350
3350
|
this.firstVisibleColumn$ = chain(this._columnList).first();
|
|
3351
3351
|
this.lastVisibleColumn$ = chain(this._columnList).last();
|
|
3352
3352
|
this.rowSelectionDisabledOnAllColumns$ = chain(this._columnList).select(column => column.isRowSelectionEnabled()).count().equals(0);
|
|
3353
|
+
when(chain(this._rawDataSource).first()).becomesTruthy(it => {
|
|
3354
|
+
if (it === this.identityOf(it)) {
|
|
3355
|
+
console.warn("Table model identity function is using reference equality. This can cause lots of table re-rendering");
|
|
3356
|
+
}
|
|
3357
|
+
}, { once: true });
|
|
3353
3358
|
}
|
|
3354
3359
|
initialise(injector) {
|
|
3355
3360
|
// not sure if I should define these at the module level or not...
|