Open soyo20 opened 5 years ago
I wish to export xls file. My code is following
Excel::export([ 'models' => $data, 'fileName' => 'MARCBOOK'.$id, 'columns' => $column_row1, 'asAttachment' => true, 'format' => 'Xls' ]);
It will generate an error, If I erase the format row it works well.
How to export it in xls format??
I wish to export xls file. My code is following
Excel::export([ 'models' => $data, 'fileName' => 'MARCBOOK'.$id, 'columns' => $column_row1, 'asAttachment' => true, 'format' => 'Xls' ]);
It will generate an error, If I erase the format row it works well.
How to export it in xls format??