Add more changes to table API and documentation

This commit is contained in:
Dolan Miu
2018-12-31 01:55:15 +00:00
parent ab07f2ecbe
commit b9465b2a20
5 changed files with 36 additions and 15 deletions

View File

@ -25,7 +25,7 @@ export class TableRow extends XmlComponent {
public addGridSpan(index: number, cellSpan: number): TableCell {
const remainCell = this.cells[index];
remainCell.Properties.addGridSpan(cellSpan);
remainCell.addGridSpan(cellSpan);
this.cells.splice(index + 1, cellSpan - 1);
this.root.splice(index + 2, cellSpan - 1);