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

435 views Asked by At

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

0

There are 0 answers