vendredi 16 octobre 2020

Maatwebsite\Excel in Laravel- Border is not showing in excel after filling background color

I am using Laravel 5.2 and maatwebsite/excel 2.1, the issue is border line is not showing after setting background color, I have used the below code.

$excel->getActiveSheet()->setBorder('A1:' . $excel->getActiveSheet()->getHighestColumn() . 
                                    $excel->getActiveSheet()->getHighestRow(), 'thin');

Excel screenshot



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire