How can I print an image only in the last row of a table in jasper reports

1

I have a table that has PDF output in jasper reports and I need a boolean expression to print an image only in the last row of the table. Can someone help me?

    
asked by anonymous 19.05.2017 / 13:31

1 answer

1

I was able to find the solution to this problem with the use of jasper's internal variable:

$V{REPORT_COUNT}.intValue()

It works as a row count of the detail band of your table, so I just use it in the of the image and add it to the lines you need.

    
22.05.2017 / 20:05