jasper reports - Print the Values from list in JasperReports version 3 -


i want values list , show in tabular form. m using sub reports. however, able first row values list, can't access rest of values.

i using ireports version 3.

here sub report: enter image description here

the first row matches pojo fields. need print second row, other values list. however, error shows cant' retrieve value material1....

as suggested in prevoius comments, should better understand how detail band works.

the detail band iterates every "row" of datasource, unless did unconventional in datasource, need single field every "column" in datasource.

basically, if data source like:

material   quantity   actual_cost aaa        100        5    bbb        200        10 ccc        150        7 ddd        50         8 

having 3 "columns" show, need 3 fields in detail band.

running report, 4 rows (like datasource should suggest you).


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -