Auto row number in Jasper Report Table

jasper-reports, java

Solution

Try this

put a text-field and under the expression editor paste this `$V{REPORT_COUNT}` and save and run the jasper jrxml

`$V{REPORT_COUNT}` is a Built-in Variable.

Set the text field's evaluation time to "Report" if you're interested in the final value.

Problem

I have a table which have No, Name, Address, Phone, Email columns. I would like set auto number in `No` column without parameter passing form my java class. Is there `EL`or something to solve it in `JasperReport`. I am using version 5.1. Note : As simple table, I did not provide the source and template.

Original source