Fill Crosstab

Hi,

I'm filling my reports using JasperFillManager and pass it a JRDataSource. I need to use crosstab, and i don't know how to fill subdatasets by java code.

Thanks in advance.
jquiroga's picture
Joined: Sep 22 2006 - 6:25am
Last seen: 2 years 1 week ago

2 Answers:

Hi,

I think you need to pass JRDataSource objects to them too, using the <dataSourceExpression> tag in the <dataSetRun>.

I hope this helps.
Teodor
teodord's picture
53184
Joined: Jun 30 2006 - 9:00am
Last seen: 2 hours 34 min ago
This work, thanks.

I pass JRRewindableDataSource through report parameter and change the <dataSourceExpression> tag in the <dataSetRun> adding the expresion: {$P{PARAMNAME}}
jquiroga's picture
Joined: Sep 22 2006 - 6:25am
Last seen: 2 years 1 week ago
Feedback
randomness