Closed pionas closed 5 years ago
Thanks for reporting, I will have a look.
I find the solution. https://github.com/vandeseer/easytable/blob/master/src/main/java/org/vandeseer/easytable/structure/Table.java#L112-L114
must change to:
for (int i = 0; i < cell.getRowSpan(); i++)
{
if (rowSpanCells.contains(new Point(rows.size(), i)))
{
skipped++;
}
}
Unfortunately this does not yet fix it. Try to run the test class ExcelLikeExampleTest
. You will see that the second table is not rendered correctly now. But I think your change is pointing in the right direction :wink:
I think you can't skip first row's cell because the first row's cell can be the second or third element for another row's cell...
Should be fixed in develop
branch now.
Now it's okey :) Good job :smile:
Fixed in release 0.5.2
My code: