ngx-aur-mat-table 12.2.32 → 12.2.33
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/ngx-aur-mat-table.umd.js +3 -2
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/ngx-aur-mat-table.component.js +4 -3
- package/fesm2015/ngx-aur-mat-table.js +3 -2
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/ngx-aur-mat-table.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1128,7 +1128,6 @@
|
|
|
1128
1128
|
if ((changes['tableData'] && this.tableData) || (changes['displayColumns'] && this._displayColumns)) {
|
|
1129
1129
|
this.tableData = this.tableData || [];
|
|
1130
1130
|
this.prepareTableData();
|
|
1131
|
-
this.updateColumnOffsets();
|
|
1132
1131
|
}
|
|
1133
1132
|
if (changes['highlight'] && this.highlight) {
|
|
1134
1133
|
this.handleHighlightChange(this.highlight);
|
|
@@ -1162,10 +1161,12 @@
|
|
|
1162
1161
|
var _this = this;
|
|
1163
1162
|
this.initPaginator();
|
|
1164
1163
|
this.initSortingDataAccessor();
|
|
1165
|
-
this.updateColumnOffsets();
|
|
1166
1164
|
this.resizeColumnOffsetsObserver = new ResizeObserver(function () { return _this.updateColumnOffsets(); });
|
|
1167
1165
|
this.resizeColumnOffsetsObserver.observe(this.table.nativeElement);
|
|
1168
1166
|
};
|
|
1167
|
+
NgxAurMatTableComponent.prototype.ngAfterViewChecked = function () {
|
|
1168
|
+
this.updateColumnOffsets();
|
|
1169
|
+
};
|
|
1169
1170
|
NgxAurMatTableComponent.prototype.initPaginator = function () {
|
|
1170
1171
|
if (this.tableDataSource) {
|
|
1171
1172
|
this.tableDataSource.paginator = this.matPaginator;
|