dolanmiu on gh-pages
Deploy dolanmiu/docx to github.… (compare)
dolanmiu on master
fix hyperlink id fix lint Merge pull request #448 from Sr… (compare)
Is there any way to add a table style to a table like you can with paragraphs?
new Paragraph().style("My Paragraph style"); works
new Table().style("My table style"); is not supported
I know you can add styling per cell which works fine, but sometimes i want to add additional lines to a table in word after the document is generated.
Word is not smart enough alterate between the styling of even and uneven rows.
To be able to just use the ootb styles available in word is more then enough for my purposes
Thank you for the quick reply, setting the borders and background colours of the cells is indeed possible, but when the person generating these documents wants to adds additional rows to the table, the background colours of the additional rows matches the row that is generated as last instead of alternating between two colours.
I will see if i can add a feature request :)
Using a existing table style or some option to define alternating table row colours is good enough.