Friday, March 31, 2017

how to select all the cells in this maatwebsite laravel?

I am trying to format my cells to align center. In the documentation There is example to select a specific cell and cell range only. how do i format the entire sheet to have everything center aligned?

$sheet->cells('A1:A5', function($cells) {

// manipulate the range of cells

});

I want to select all cells instead of a range



via Mikethetechy

Advertisement