Open saltedfishDing opened 1 year ago
You need to send color option in an array. Below code will fill with 'RED' color to the 1st column and fill with 'GREEN' to the 2nd column
$writer->writeSheetRow($sheet, $rowData, $row_options = array(array('fill'=>'#FF0000'),array('fill'=>'#00FF00')));
您好,我已经收到您的信件,将尽快回复您。
i tried this,not work
$writer->writeSheetRow($sheet, "<span style='color:#ff0000'>Red Contents</span>Black Contents")