Replies: 2   Views: 3088
Addtable in phpdocx 3.2
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by pphornet  · 05-03-2013 - 16:01

Thank's for PHPDocX 3.2 PRO for your team! Each time better and better...)
But I still can not make a fixed height for the rows in the table

for example, how to change the code so that i can control the height of rows?

require_once 'classes/';

$docx = new CreateDocx();

$valuesTable = array(

$paramsTable = array(
'border' => 'single',
'border_sz' => 20

$docx->addTable($valuesTable, $paramsTable);



I try this solution, but the height rows is not changed
(cells width working fine)

CODE above and...

$trProperties = array();
$trProperties[0] = array('height' => 2500);
$trProperties[1] = array('minHeight' => 1000, 'height' => 2500);
$docx->addTable($valuesTable, $paramsTable, $trProperties);

how to control the height of the row table?