@pepperi-addons/ngx-lib 0.4.2-beta.84 → 0.4.2-beta.85

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.
@@ -1582,7 +1582,8 @@ class PepListComponent {
1582
1582
  uiControlField.calcColumnWidthString = this.lastColumnsWidth[index].calcColumnWidthString;
1583
1583
  totalCalcColsWidth += this.lastColumnsWidth[index].calcColumnWidth;
1584
1584
  }
1585
- widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 8 + 'px';
1585
+ widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 'px';
1586
+ console.log(`setLastColumnsWidth -> widthToSet: ${widthToSet} *** totalCalcColsWidth: ${totalCalcColsWidth}`);
1586
1587
  this.setColumnsWidth(widthToSet);
1587
1588
  res = true;
1588
1589
  }
@@ -1647,8 +1648,9 @@ class PepListComponent {
1647
1648
  }
1648
1649
  totalCalcColsWidth += currentFixedWidth;
1649
1650
  }
1650
- widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 8 + 'px';
1651
+ widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 'px';
1651
1652
  }
1653
+ console.log(`calcColumnsWidth -> widthToSet: ${widthToSet} *** totalCalcColsWidth: ${totalCalcColsWidth}`);
1652
1654
  this.setColumnsWidth(widthToSet);
1653
1655
  }
1654
1656
  calcObjectHeight() {
@@ -2186,6 +2188,7 @@ class PepListComponent {
2186
2188
  this.startX = event.x;
2187
2189
  this.startWidth = event.target.closest('.header-column').offsetWidth;
2188
2190
  this.tableStartWidth = this.hostElement.nativeElement.offsetWidth; // this.virtualScroller?.contentElementRef.nativeElement.offsetWidth;
2191
+ console.log(`tableStartWidth - ${this.tableStartWidth}`);
2189
2192
  }
2190
2193
  onListResize(event) {
2191
2194
  if (this.pressedColumn.length > 0) {
@@ -2218,7 +2221,8 @@ class PepListComponent {
2218
2221
  }
2219
2222
  totalCalcColsWidth += uiControlField.calcColumnWidth;
2220
2223
  }
2221
- const widthToSet = (this.tableStartWidth + widthToAdd) + 8 + 'px';
2224
+ const widthToSet = (this.tableStartWidth + widthToAdd) + 'px';
2225
+ console.log(`onListResize -> widthToSet: ${widthToSet} *** widthToAdd: ${widthToAdd}`);
2222
2226
  this.setColumnsWidth(widthToSet);
2223
2227
  this.checkForChanges = new Date().getTime();
2224
2228
  }