Dynamically created dataset and table report does not show detail [message #683134] |
Mon, 13 June 2011 04:21 |
Prashant Mising name Messages: 5 Registered: June 2011 |
Junior Member |
|
|
Please refer to the attached report file.
In beforeFactory the columns specs are obtained from application context. The columns are added to the predefined scripted dataset. A table is created.
In fetch event handler I populate the rows from list of hash maps.
However when the report output contains the page header and table header but no detail rows of the table.
What I have missed or done wrong?
Thanks in advance for the help.
Prashant
[Updated on: Mon, 13 June 2011 05:51] Report message to a moderator
|
|
|
Re: Dynamically created dataset and table report does not show detail [message #683319 is a reply to message #683134] |
Mon, 13 June 2011 13:48 |
|
Is your fetch being called more than once?
At the end of the beforeFactory you may want to write out the modified
design to see what is getting created.
Use reportDesignHandle.saveAs("c:/temp/myreport.rptdesign"); You should
be able to open it up and look at it.
Jason
On 6/13/2011 12:21 AM, Prashant wrote:
> Please refer to the attached report file.
>
> In beforeFactory the columns specs are obtained from application context. The columns are added to the predefined scripted dataset. A table is created.
>
> In fetch event handler I populate the rows from list of hash maps.
>
> However when the report output contains the page header and table header but no detail rows of the table.
>
> What I have missed or done wrong?
>
> Thanks in advance for the help.
>
> Prashant
|
|
|
Powered by
FUDForum. Page generated in 0.03283 seconds