Creating a static table in iReport

I have been playing with iReport for some time (older version 3.0.0), and I can’t find a way to make only a static table, which seems silly and makes me think that I'm just solid. Can someone point me in the right direction? The goal is to create a report with a table with two columns: segment # and the name of the segment. There will always be 20 segments for each report, so the final report will look something like this:

| 1 | <segment name> |
| 2 | <segment name> |
...
| 20 | <segment name> |

Thanks in advance for your help.

+5
source share
1 answer

The usual way to create a table in Jasper is to use text fields (I know this is not so normal, but Jasper is just dense)

, , .
Detail .

"" Text Field s, $F{segment_id} F${segment_name} (, ).
, .

, Column Header. Static Text 'ID' 'Segment Name' - .

, , , , .

(. Jasper, Jasper Table, ).

+6

All Articles