• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add class to row with HTML Table Class

#1
Hi,

 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);
Reply


Messages In This Thread
Add class to row with HTML Table Class - by AngelRodriguez - 08-28-2020, 08:52 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.