In the first "Row by Row" tab, the two lines follow each other, making the first nextRow() call basically useless.
(Except at least for a subsequent call to $sheet->getCurrentRowId();, that then returns 1 if nextRow() is there, and 0 if not.)
In the second "Direct" tab, the two lines are separated by an empty one (as expected, I guess).
Would it be possible to have the same behavior in both cases?
Concidering the following code:
In the first "Row by Row" tab, the two lines follow each other, making the first
nextRow()
call basically useless.(Except at least for a subsequent call to
$sheet->getCurrentRowId();
, that then returns 1 ifnextRow()
is there, and 0 if not.)In the second "Direct" tab, the two lines are separated by an empty one (as expected, I guess).
Would it be possible to have the same behavior in both cases?