How to create a report in Jasperreports (Jasper Studio) that has dynamic columns?

Asked

Viewed 1,041 times

0

Follows the table:

inserir a descrição da imagem aqui

As you can see, sometimes I can have 1 test, 2 test, 3 tests or none at all. All this would depend on what I could bring from the bank. How can I do it in Jasperreports?

1 answer

1

Hello, just today I made a report with dynamic columns. Only that they are not so dynamic, you will create your report, if it is in it where you will display the data brought from the database, you go in the "properties>Advanced>column Count" that will be marked with value 1, and arrow the number of columns you want, mark "print order" from vertical to horizontal, in this case of tables, you can have it displayed in a list, then your columns will be straight according to the number of rows of each column, if you use sub-report, the process is the same. I hope I’ve helped! Questions ask! Hug!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.