Add declarative column merge
This commit is contained in:
@ -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],
|
||||
});
|
||||
|
Reference in New Issue
Block a user