how to import file data excel until row 5 using laravel excel 3.1? excel code
Asked
Active
Viewed 826 times
-1
-
1At what point in importing 5 rows did you have issues? Please add your code to the question not via an image. – Oluwatobi Samuel Omisakin Oct 15 '20 at 12:30
1 Answers
0
When you only want to return the first x rows of a sheet, you can use limit()
.
public function limit(): int
{
return 10;
}

flakerimi
- 2,580
- 3
- 29
- 49