@sumaris-net/ngx-components 2.3.3 → 2.3.4
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/src/app/core/table/table.class.mjs +6 -3
- package/fesm2015/sumaris-net.ngx-components.mjs +5 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +5 -2
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -25641,11 +25641,15 @@ class AppTable {
|
|
|
25641
25641
|
if (this.sort)
|
|
25642
25642
|
this.sort.disabled = true;
|
|
25643
25643
|
this._enabled = false;
|
|
25644
|
+
if (!opts || opts.emitEvent != false)
|
|
25645
|
+
this.markForCheck();
|
|
25644
25646
|
}
|
|
25645
25647
|
enable(opts) {
|
|
25646
25648
|
if (this.sort)
|
|
25647
25649
|
this.sort.disabled = false;
|
|
25648
25650
|
this._enabled = true;
|
|
25651
|
+
if (!opts || opts.emitEvent != false)
|
|
25652
|
+
this.markForCheck();
|
|
25649
25653
|
}
|
|
25650
25654
|
get enabled() {
|
|
25651
25655
|
return this._enabled;
|
|
@@ -26738,9 +26742,8 @@ class AppTable {
|
|
|
26738
26742
|
this.visibleRowCount++;
|
|
26739
26743
|
this.markAsDirty({ emitEvent: false /*markForCheck() is called just after*/ });
|
|
26740
26744
|
// Emit event
|
|
26741
|
-
if (!opts || opts.emitEvent !== false)
|
|
26745
|
+
if (!opts || opts.emitEvent !== false)
|
|
26742
26746
|
this.markForCheck();
|
|
26743
|
-
}
|
|
26744
26747
|
return row;
|
|
26745
26748
|
}
|
|
26746
26749
|
registerCellValueChanges(name, formPath, emitInitialValue) {
|