ngx-aur-mat-table 12.2.29 → 12.2.30

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.
@@ -1181,9 +1181,14 @@
1181
1181
  }
1182
1182
  };
1183
1183
  NgxAurMatTableComponent.prototype.updateColumnOffsets = function () {
1184
+ var _this = this;
1184
1185
  var offsets = Array.from(this.table.nativeElement.querySelectorAll('th'))
1185
1186
  .map(function (c) { return c; })
1186
- .map(function (c) { return ({ left: c.offsetLeft, width: c.offsetWidth }); });
1187
+ .map(function (c, index) { return ({
1188
+ left: c.offsetLeft,
1189
+ width: c.offsetWidth,
1190
+ key: _this._displayColumns[index]
1191
+ }); });
1187
1192
  this.columnOffsets.emit(offsets);
1188
1193
  };
1189
1194
  NgxAurMatTableComponent.prototype.prepareTableData = function () {