|
|
 nunux | 2009-03-09 01:32:25 |
Hi!
First, thank to you for this class!
I would like to know if it's possible to merge two cells in a table? (option colspan)
thank's
|
 Chris Brett | 2010-08-06 02:02:17 - In reply to message 1 from nunux |
| I really want to know how to do this too! |
 Chris Brett | 2010-08-06 22:38:34 - In reply to message 1 from nunux |
I've worked out that this can be achieved by simply using HTML tags to create the table. e.g.
$doc->StartTable();
$table =array();
$table[] ="
<table>
<tr>
<td>Row1 ColA</td>
<td>Row1 ColB</td>
<td>Row1 ColC</td>
</tr>
<tr>
<td colspan='3'>Row2 ColA</td>
</tr>
</table>
";
$doc->addTableRow($table);
$doc->endTable(); |
|