Print out TableView Data as table (not image) with custom formating using java

Please help if you can otherwise skip.

I am developing a software using JavaFX. I have a TableView which I want to printout in Landscape A4 page with custom formatting. My table will contain huge rows, so it is necessary that the table must split into multiple pages. I have searched on the web but not getting the proper solution. I found many posts which does not meet my requirement.

I have a jfx table created with observable list like this:

JFX TableView

And I want to print this table as like below:

Printout

Any idea how to do this?

Answer

This can be easily done with Jasper Reports Library. I found my solution with this library.

Leave a Reply

Your email address will not be published. Required fields are marked *