diff --git a/views_pdf_template.php b/views_pdf_template.php index 61874d0..24d9200 100644 --- a/views_pdf_template.php +++ b/views_pdf_template.php @@ -743,7 +743,7 @@ class PdfTemplate extends FPDI { $x += $headerOptions['position']['width']; } - $rowY = $this->y; + $rowY = $options['position']['row_height'] ? $y + $options['position']['row_height'] : $this->y; if (!isset($options['position']['row_height']) || empty($options['position']['row_height'])) { $options['position']['row_height'] = 0;