@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.
- package/esm2020/list/list.component.mjs +8 -4
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +7 -3
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs +7 -3
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1585,7 +1585,8 @@ class PepListComponent {
|
|
|
1585
1585
|
uiControlField.calcColumnWidthString = this.lastColumnsWidth[index].calcColumnWidthString;
|
|
1586
1586
|
totalCalcColsWidth += this.lastColumnsWidth[index].calcColumnWidth;
|
|
1587
1587
|
}
|
|
1588
|
-
widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) +
|
|
1588
|
+
widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 'px';
|
|
1589
|
+
console.log(`setLastColumnsWidth -> widthToSet: ${widthToSet} *** totalCalcColsWidth: ${totalCalcColsWidth}`);
|
|
1589
1590
|
this.setColumnsWidth(widthToSet);
|
|
1590
1591
|
res = true;
|
|
1591
1592
|
}
|
|
@@ -1650,8 +1651,9 @@ class PepListComponent {
|
|
|
1650
1651
|
}
|
|
1651
1652
|
totalCalcColsWidth += currentFixedWidth;
|
|
1652
1653
|
}
|
|
1653
|
-
widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) +
|
|
1654
|
+
widthToSet = (totalCalcColsWidth + this.getSelectionCheckBoxWidth()) + 'px';
|
|
1654
1655
|
}
|
|
1656
|
+
console.log(`calcColumnsWidth -> widthToSet: ${widthToSet} *** totalCalcColsWidth: ${totalCalcColsWidth}`);
|
|
1655
1657
|
this.setColumnsWidth(widthToSet);
|
|
1656
1658
|
}
|
|
1657
1659
|
calcObjectHeight() {
|
|
@@ -2195,6 +2197,7 @@ class PepListComponent {
|
|
|
2195
2197
|
this.startX = event.x;
|
|
2196
2198
|
this.startWidth = event.target.closest('.header-column').offsetWidth;
|
|
2197
2199
|
this.tableStartWidth = this.hostElement.nativeElement.offsetWidth; // this.virtualScroller?.contentElementRef.nativeElement.offsetWidth;
|
|
2200
|
+
console.log(`tableStartWidth - ${this.tableStartWidth}`);
|
|
2198
2201
|
}
|
|
2199
2202
|
onListResize(event) {
|
|
2200
2203
|
if (this.pressedColumn.length > 0) {
|
|
@@ -2227,7 +2230,8 @@ class PepListComponent {
|
|
|
2227
2230
|
}
|
|
2228
2231
|
totalCalcColsWidth += uiControlField.calcColumnWidth;
|
|
2229
2232
|
}
|
|
2230
|
-
const widthToSet = (this.tableStartWidth + widthToAdd) +
|
|
2233
|
+
const widthToSet = (this.tableStartWidth + widthToAdd) + 'px';
|
|
2234
|
+
console.log(`onListResize -> widthToSet: ${widthToSet} *** widthToAdd: ${widthToAdd}`);
|
|
2231
2235
|
this.setColumnsWidth(widthToSet);
|
|
2232
2236
|
this.checkForChanges = new Date().getTime();
|
|
2233
2237
|
}
|