Update Sample_09_Tables.php
This commit is contained in:
parent
023977a885
commit
d9627e19fd
@ -49,7 +49,14 @@ for ($i = 1; $i <= 8; $i++) {
|
|||||||
$table->addCell(500)->addText(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
|
$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->addPageBreak();
|
||||||
$section->addText(htmlspecialchars('Table with colspan and rowspan', ENT_COMPAT, 'UTF-8'), $header);
|
$section->addText(htmlspecialchars('Table with colspan and rowspan', ENT_COMPAT, 'UTF-8'), $header);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user