@syncfusion/ej2-pdf-export 24.1.47 → 25.1.35

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.
@@ -27498,7 +27498,8 @@ class PdfGridCell {
27498
27498
  }
27499
27499
  if (param.page != childGridResult.page) //&& (isWidthGreaterthanParent != true))
27500
27500
  {
27501
- childGridResult.bounds.height = this.row.rowBreakHeightValue;
27501
+ if (this.row.rowBreakHeightValue !== null && typeof this.row.rowBreakHeightValue !== 'undefined')
27502
+ childGridResult.bounds.height = this.row.rowBreakHeightValue;
27502
27503
  if (this.row.rowBreakHeight == 0)
27503
27504
  this.row.NestedGridLayoutResult = childGridResult;
27504
27505
  else
@@ -30638,14 +30639,16 @@ class PdfGridLayouter extends ElementLayouter {
30638
30639
  // }
30639
30640
  }
30640
30641
  for (let i = this.cellStartIndex; i <= this.cellEndIndex; i++) {
30642
+ let gridColumnWidth = this.Grid.columns.getColumn(i).width;
30641
30643
  let cancelSpans = ((row.cells.getCell(i).columnSpan + i > this.cellEndIndex + 1) &&
30642
30644
  (row.cells.getCell(i).columnSpan > 1));
30643
- // if (!cancelSpans) {
30644
- // for (let k : number = 1; k < row.cells.getCell(i).columnSpan; k++) {
30645
- // row.cells.getCell(i + k).isCellMergeContinue = true;
30646
- // }
30647
- //}
30648
- let size = new SizeF(this.Grid.columns.getColumn(i).width, this.gridHeight > 0.0 ? this.gridHeight :
30645
+ if (!cancelSpans) {
30646
+ for (let k = 1; k < row.cells.getCell(i).columnSpan; k++) {
30647
+ row.cells.getCell(i + k).isCellMergeContinue = true;
30648
+ gridColumnWidth += this.Grid.columns.getColumn(i + k).width;
30649
+ }
30650
+ }
30651
+ let size = new SizeF(gridColumnWidth, this.gridHeight > 0.0 ? this.gridHeight :
30649
30652
  this.currentPageBounds.height);
30650
30653
  // if (size.width === 0) {
30651
30654
  // size = new SizeF(row.cells.getCell(i).width, size.height);