@universis/ngx-tables 0.7.7 → 0.7.8
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/universis-ngx-tables.umd.js +7 -0
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +8 -1
- package/esm5/lib/components/advanced-table/advanced-table.component.js +8 -1
- package/fesm2015/universis-ngx-tables.js +7 -0
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +7 -0
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/components/advanced-table/advanced-table.component.d.ts +1 -0
- package/package.json +1 -1
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1840,6 +1840,7 @@
|
|
|
1840
1840
|
this._http.get(changes.configSrc.currentValue).toPromise().then(function (config) {
|
|
1841
1841
|
// set configuration
|
|
1842
1842
|
_this.config = config;
|
|
1843
|
+
_this.destroy();
|
|
1843
1844
|
// fetch and redraw
|
|
1844
1845
|
_this.fetch();
|
|
1845
1846
|
}).catch(function (err) {
|
|
@@ -1850,6 +1851,12 @@
|
|
|
1850
1851
|
}
|
|
1851
1852
|
}
|
|
1852
1853
|
};
|
|
1854
|
+
AdvancedTableComponent.prototype.reset = function (load) {
|
|
1855
|
+
this.query = null;
|
|
1856
|
+
this.destroy();
|
|
1857
|
+
this.autoLoad = !!load;
|
|
1858
|
+
this.ngOnInit();
|
|
1859
|
+
};
|
|
1853
1860
|
AdvancedTableComponent.decorators = [
|
|
1854
1861
|
{ type: i0.Component, args: [{
|
|
1855
1862
|
// tslint:disable-next-line: component-selector
|