Jspdf-autotable: Rotate text in a cell

Created on 20 Jun 2019  路  5Comments  路  Source: simonbengtsson/jsPDF-AutoTable

How can I rotate a text in a cell so that the text is displayed vertically?

Thank you in advance!

enhancement help wanted

Most helpful comment

Researched this briefly now and seems like the best option is to either allow the user to specify jspdf text options themselves as a textOptions style. Then the can sort out cell dimensions etc themselves in the hooks.

Or we could add a textAngle cell style. This would be very user friendly but would also mean that we would have to do checks everywhere to so that the text fits inside of the cell no matter the text angle. Certainly doable but a little more complex..

All 5 comments

I was looking for that feature too :)

This issue has been automatically closed since the issues in this project are mainly used for bugs and feature requests. Questions are directed to stackoverflow.

Why this can鈥檛 be a feature request @simonbengtsson?

Any news on this? Would've really liked having this feature.

Researched this briefly now and seems like the best option is to either allow the user to specify jspdf text options themselves as a textOptions style. Then the can sort out cell dimensions etc themselves in the hooks.

Or we could add a textAngle cell style. This would be very user friendly but would also mean that we would have to do checks everywhere to so that the text fits inside of the cell no matter the text angle. Certainly doable but a little more complex..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JoakFlores picture JoakFlores  路  3Comments

cplaiu picture cplaiu  路  3Comments

Alorse picture Alorse  路  4Comments

ayozebarrera picture ayozebarrera  路  3Comments

webdream-fr picture webdream-fr  路  6Comments