Refactor row merging to table level
This commit is contained in:
@ -45,4 +45,9 @@ export class TableRow extends XmlComponent {
|
||||
public get Children(): TableCell[] {
|
||||
return this.options.children;
|
||||
}
|
||||
|
||||
public addCellToIndex(cell: TableCell, index: number): void {
|
||||
// Offset because properties is also in root.
|
||||
this.root.splice(index + 1, 0, cell);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user