Skip to content

Commit d654416

Browse files
authored
Merge pull request #147 from aldaris/readme-fix
Fix table example code
2 parents e851dae + 0afd42f commit d654416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ data.add(new ArrayList<>(
7070
Arrays.asList("Column One", "Column Two", "Column Three", "Column Four", "Column Five")));
7171
for (int i = 1; i <= 100; i++) {
7272
data.add(new ArrayList<>(
73-
Arrays.asList("Row " + i + " Col One", "Row " + i + " Col Two", "Row " + i + " Col Three", "Row " + i + " Col Four", "Row " + i + " Col Five")));
73+
Arrays.asList("Row " + i + " Col One", "Row " + i + " Col Two", "Row " + i + " Col Three", "Row " + i + " Col Four", "Row " + i + " Col Five")));
74+
}
7475
BaseTable dataTable = new BaseTable(yStart, yStartNewPage, bottomMargin, tableWidth, margin, doc, page, true, true);
7576
DataTable t = new DataTable(dataTable, page);
7677
t.addListToTable(data, DataTable.HASHEADER);
7778
dataTable.draw();
78-
}
7979
```
8080
Output : [ListExampleLandscape.pdf](https://s3.amazonaws.com/misc.quodlibet.be/Boxable/ListExampleLandscape.pdf)
8181

0 commit comments

Comments
 (0)