@onecx/angular-accelerator 4.37.1 → 4.38.0

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.
@@ -880,7 +880,8 @@ class CustomGroupColumnSelectorComponent {
880
880
  this.visible = false;
881
881
  const colIdsBefore = this.displayedColumns.map((column) => column.id);
882
882
  const colIdsAfter = this.displayedColumnsModel.map((column) => column.id);
883
- if (!colIdsAfter.every((colId, i) => colId === colIdsBefore[i])) {
883
+ if ((!colIdsAfter.every((colId, i) => colId === colIdsBefore[i])) ||
884
+ colIdsAfter.length != colIdsBefore.length) {
884
885
  this.columnSelectionChanged.emit({ activeColumns: [...this.displayedColumnsModel] });
885
886
  }
886
887
  if (this.frozenActionColumn != this.frozenActionColumnModel ||