@esfaenza/es-table 11.2.102 → 11.2.103
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/bundles/esfaenza-es-table.umd.js +7 -2
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +7 -3
- package/fesm2015/esfaenza-es-table.js +6 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3735,7 +3735,11 @@ class EsTableComponent {
|
|
|
3735
3735
|
/** @ignore */
|
|
3736
3736
|
registerOnTouched(fn) { }
|
|
3737
3737
|
/** @ignore */
|
|
3738
|
-
changed(
|
|
3738
|
+
changed(clearItems = false) {
|
|
3739
|
+
if (clearItems && this.viewMode)
|
|
3740
|
+
this.View.items = [];
|
|
3741
|
+
this.propagateChange(this.View);
|
|
3742
|
+
}
|
|
3739
3743
|
/** @ignore */
|
|
3740
3744
|
writeValue(obj) {
|
|
3741
3745
|
var _a;
|
|
@@ -3863,7 +3867,7 @@ class EsTableComponent {
|
|
|
3863
3867
|
this.postBoundSourceCalculation();
|
|
3864
3868
|
if (this.View && !this.View.selfsearch && this.EsTableHandledSearch) {
|
|
3865
3869
|
this.View.selfsearch = true;
|
|
3866
|
-
this.changed();
|
|
3870
|
+
this.changed(true);
|
|
3867
3871
|
this.onSearchRequest.emit(false);
|
|
3868
3872
|
}
|
|
3869
3873
|
else if (this.View && this.View.selfsearch && this.EsTableHandledSearch) {
|