Skip to main content



      Home
Home » Archived » BIRT » Dynamically created dataset and table report does not show detail(Resolved -- row accessor in fetch was wrong)
Dynamically created dataset and table report does not show detail [message #683134] Mon, 13 June 2011 00:21 Go to next message
Eclipse UserFriend
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 01:51] by Moderator

Re: Dynamically created dataset and table report does not show detail [message #683319 is a reply to message #683134] Mon, 13 June 2011 09:48 Go to previous message
Eclipse UserFriend
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
Previous Topic:(no subject)
Next Topic:Newbie: Add new Element to report
Goto Forum:
  


Current Time: Tue Jul 22 12:44:30 EDT 2025

Powered by FUDForum. Page generated in 0.03816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top