Laravel-excel: [QUESTION] How can I change my start row in my controller?

Created on 9 Aug 2016  路  5Comments  路  Source: Maatwebsite/Laravel-Excel

Package version, Laravel version

Laravel Excel 2.1, Laravel 5.2

In the config file I see that there is a way to set the startRow to something other than 1. I may be importing excel sheets with different formats and would like to be able to set the start row in my controller. Does this package allow me to do that?

Most helpful comment

config(['excel.import.startRow' => 1 ]);

Hope it helps.

All 5 comments

Im also looking for a way to dynamically set the startRow on a file-by-file bases.

config(['excel.import.startRow' => 1 ]);

Hope it helps.

No me ayudo :(

No me ayudo :(

Please open a new issue (in English), using the template. Also note that this topic is probably about version 2, which is no longer supported.

You might have a look at the 3.1 documentation, and try e.g. the Maatwebsite\Excel\Concerns\WithStartRow concern.

@GlennM Im also looking for a way to dynamically set the startRow on a file-by-file bases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matthewslouismarie picture matthewslouismarie  路  3Comments

vandolphreyes picture vandolphreyes  路  3Comments

contifico picture contifico  路  3Comments

amine8ghandi8amine picture amine8ghandi8amine  路  3Comments

rossjcooper picture rossjcooper  路  3Comments