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/CreateDocx.inc';
$docx = new CreateDocx();
$valuesTable = array(
array(
11,
12
),
array(
21,
22
),
);
$paramsTable = array(
'border' => 'single',
'border_sz' => 20
);
$docx->addTable($valuesTable, $paramsTable);
$docx->createDocx('example_table');
====================================
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?