Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 04:21 Go to next message
Prashant Mising name is currently offline 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 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

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: Sun Oct 26 07:52:37 GMT 2014

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

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