minor table change.
This commit is contained in:
parent
f34cf1bdfe
commit
bcd65ad420
|
@ -1179,7 +1179,7 @@ A stylized table of text elements with a list.
|
|||
|
||||
##### Methods:
|
||||
|
||||
- inherits all from Box.
|
||||
- inherits all from List.
|
||||
- __setRows/setData(rows)__ - set rows in table. array of arrays of strings.
|
||||
``` js
|
||||
table.setData([
|
||||
|
|
|
@ -7076,16 +7076,11 @@ Table.prototype.setData = function(rows) {
|
|||
|
||||
text += cell;
|
||||
});
|
||||
text += '\n';
|
||||
if (!isFooter) {
|
||||
text += '\n';
|
||||
text += '\n\n';
|
||||
}
|
||||
});
|
||||
|
||||
if (text[text.length - 1] === '\n') {
|
||||
text = text.slice(0, -1);
|
||||
}
|
||||
|
||||
delete this.align;
|
||||
this.setContent(text);
|
||||
this.align = align;
|
||||
|
|
Loading…
Reference in New Issue