08-28-2020, 08:52 AM
Hi,
I see in the documentation that you can add class to cell items like this:
But can you add class to entire row? or is not possible?
Something like this:
I see in the documentation that you can add class to cell items like this:
Code:
$cell = ['data' => 'Blue', 'class' => 'highlight', 'colspan' => 2];
$table->addRow($cell, 'Red', 'Green');
But can you add class to entire row? or is not possible?
Something like this:
Code:
$row = ['data' => [123,567,789], 'class' => 'row-class'];
$table->addRow($row);