Add declarative column merge

This commit is contained in:
Dolan Miu
2019-09-22 02:39:38 +01:00
parent d2f82052b4
commit a9d4ebc898
8 changed files with 179 additions and 108 deletions

View File

@ -36,6 +36,7 @@ const table = new Table({
}),
new TableCell({
children: [],
rowSpan: 2,
}),
],
}),
@ -74,8 +75,6 @@ const table = new Table({
],
});
table.getColumn(3).mergeCells(1, 2);
doc.addSection({
children: [table],
});