How to add a nested subtable in a row?


#1

Hello, I’m tried with this:

$table = new DataTable();
$subTable = new DataTable();
$table->addRowFromArray(array(Row::COLUMNS => array(‘label’ => “MyLabel”)));
$row = $table->getRowFromLabel(“MyLabel”);
$row->setSubtable($subTable);

But don’t work…

thank’s in advance


(khouloud) #2

Some problem, I asked and no answer still now :confused: