From d9627e19fdd2ef7a26c80a069a25648e2fdfff18 Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Wed, 25 May 2016 14:36:57 +0300 Subject: [PATCH] Update Sample_09_Tables.php --- samples/Sample_09_Tables.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/samples/Sample_09_Tables.php b/samples/Sample_09_Tables.php index e78fe297ab..92407a57c7 100644 --- a/samples/Sample_09_Tables.php +++ b/samples/Sample_09_Tables.php @@ -49,7 +49,14 @@ $table->addCell(500)->addText(htmlspecialchars($text, ENT_COMPAT, 'UTF-8')); } -// 3. colspan (gridSpan) and rowspan (vMerge) +/** + * 3. colspan (gridSpan) and rowspan (vMerge) + * --------------------- + * | | B | | + * | A |--------| E | + * | | C | D | | + * --------------------- + */ $section->addPageBreak(); $section->addText(htmlspecialchars('Table with colspan and rowspan', ENT_COMPAT, 'UTF-8'), $header);