@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
|
@@ -1663,6 +1663,7 @@ var AdvancedTableComponent = /** @class */ (function () {
|
|
|
1663
1663
|
this._http.get(changes.configSrc.currentValue).toPromise().then(function (config) {
|
|
1664
1664
|
// set configuration
|
|
1665
1665
|
_this.config = config;
|
|
1666
|
+
_this.destroy();
|
|
1666
1667
|
// fetch and redraw
|
|
1667
1668
|
_this.fetch();
|
|
1668
1669
|
}).catch(function (err) {
|
|
@@ -1673,6 +1674,12 @@ var AdvancedTableComponent = /** @class */ (function () {
|
|
|
1673
1674
|
}
|
|
1674
1675
|
}
|
|
1675
1676
|
};
|
|
1677
|
+
AdvancedTableComponent.prototype.reset = function (load) {
|
|
1678
|
+
this.query = null;
|
|
1679
|
+
this.destroy();
|
|
1680
|
+
this.autoLoad = !!load;
|
|
1681
|
+
this.ngOnInit();
|
|
1682
|
+
};
|
|
1676
1683
|
AdvancedTableComponent.decorators = [
|
|
1677
1684
|
{ type: Component, args: [{
|
|
1678
1685
|
// tslint:disable-next-line: component-selector
|