Closed jarachanthan closed 4 years ago
It's not supported but, as a workaround, Iif the transform function returns false, the row won't be added to the collection.
It's not supported but, as a workaround, Iif the transform function returns false, the row won't be added to the collection.
Thanks for your reply. I changed the code to solve my problem like this (unset the collect). $collection = $excel->getCollection()->skip(1);
I'm trying to import an .xlsx file in Laravel. What I want to achieve is to skip the header (first & second row) of the file.
this is working well with for one row header, but in my case I have two rows as header and how can I achieve this?