@websy/websy-designs 1.4.18 → 1.4.20

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.
@@ -5951,7 +5951,7 @@ class WebsyTable3 {
5951
5951
  style += col.style
5952
5952
  }
5953
5953
  headerHtml += `<td
5954
- class='websy-table-cell'
5954
+ class='websy-table-cell ${colIndex < this.pinnedColumns ? 'pinned' : 'unpinned'}'
5955
5955
  style='${style}'
5956
5956
  colspan='${col.colspan || 1}'
5957
5957
  rowspan='${col.rowspan || 1}'
@@ -6468,7 +6468,7 @@ var WebsyTable3 = /*#__PURE__*/function () {
6468
6468
  style += col.style;
6469
6469
  }
6470
6470
 
6471
- headerHtml += "<td \n class='websy-table-cell' \n style='".concat(style, "' \n colspan='").concat(col.colspan || 1, "'\n rowspan='").concat(col.rowspan || 1, "'\n "); // if (useWidths === true && rowIndex === this.options.columns.length - 1) {
6471
+ headerHtml += "<td \n class='websy-table-cell ".concat(colIndex < _this38.pinnedColumns ? 'pinned' : 'unpinned', "' \n style='").concat(style, "' \n colspan='").concat(col.colspan || 1, "'\n rowspan='").concat(col.rowspan || 1, "'\n "); // if (useWidths === true && rowIndex === this.options.columns.length - 1) {
6472
6472
  // headerHtml += `
6473
6473
  // style='width: ${col.width || col.actualWidth}px'
6474
6474
  // width='${col.width || col.actualWidth}'