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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/352sKj7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire