Skip to content

Commit 38ca52e

Browse files
committed
Merge pull request #804 from githubjeka/patch-1
Update Sample_09_Tables.php
2 parents 023977a + d9627e1 commit 38ca52e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

samples/Sample_09_Tables.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@
4949
$table->addCell(500)->addText(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
5050
}
5151

52-
// 3. colspan (gridSpan) and rowspan (vMerge)
52+
/**
53+
* 3. colspan (gridSpan) and rowspan (vMerge)
54+
* ---------------------
55+
* | | B | |
56+
* | A |--------| E |
57+
* | | C | D | |
58+
* ---------------------
59+
*/
5360

5461
$section->addPageBreak();
5562
$section->addText(htmlspecialchars('Table with colspan and rowspan', ENT_COMPAT, 'UTF-8'), $header);

0 commit comments

Comments
 (0)