@syncfusion/ej2-pdf-export 21.1.37 → 21.2.8

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.
@@ -26615,6 +26615,9 @@ class PdfGridCell {
26615
26615
  // If to break row to next page.
26616
26616
  if (this.row.grid.allowRowBreakAcrossPages) {
26617
26617
  innerLayoutArea.height -= innerLayoutArea.y;
26618
+ if (typeof this._rowHeight !== 'undefined' && this._rowHeight !== null && innerLayoutArea.height > this._rowHeight) {
26619
+ innerLayoutArea.height = this._rowHeight;
26620
+ }
26618
26621
  //bounds.height -= bounds.y;
26619
26622
  // if(this.row.grid.isChildGrid)
26620
26623
  // {
@@ -29893,6 +29896,7 @@ class PdfGridLayouter extends ElementLayouter {
29893
29896
  let skipcell = false;
29894
29897
  let stringResult = null;
29895
29898
  if (!skipcell) {
29899
+ row.cells.getCell(i)._rowHeight = row.height;
29896
29900
  stringResult = row.cells.getCell(i).draw(this.currentGraphics, new RectangleF(location, size), cancelSpans);
29897
29901
  }
29898
29902
  //If still row is to be drawn, set cell finished drawing cell as false and update the text to be drawn.