Detail row onCreate event of a table
<p>Hi,</p>
<p> </p>
<p>I am using a table with a data set binding. On the onCreate event of a detail row, I am calculating the new fields using the dataset fields and trying to display them on the report. When I run the report on designer, the first row is coming blank and new field values showing correctly from second row on-wards. And at the end, last row is missing. I am thinking onCreate event of data row and the onCreate event of individual data elements on that row are triggered at same time, so that is causing the first row to display as blank. Please let me know if there is any approach to fix this? Thank you in advance.</p>
<p> </p>
<p>I am using a table with a data set binding. On the onCreate event of a detail row, I am calculating the new fields using the dataset fields and trying to display them on the report. When I run the report on designer, the first row is coming blank and new field values showing correctly from second row on-wards. And at the end, last row is missing. I am thinking onCreate event of data row and the onCreate event of individual data elements on that row are triggered at same time, so that is causing the first row to display as blank. Please let me know if there is any approach to fix this? Thank you in advance.</p>
0
Comments
-
<p>Have a look at this, <a data-ipb='nomediaparse' href='http://www.eclipse.org/birt/documentation/integrating/scripting.php'>http://www.eclipse.org/birt/documentation/integrating/scripting.php</a>. </p>
<p>It documents the way events are fired.</p>
<p>The sequence of events will be that, onCreate event of detail row will be called before onCreate event of cell item which is called before onCreate event of any report item within the cell. The order is from top to bottom and left to right, and all nested elements within a report item before processing moves to next report item at the same level.</p>
<p> </p>
<p>Also, note that onCreate event is a generation phase event and onRender is presentation phase event as the above link will tell you.</p>
<p>When there are separate RunTask and RenderTask all the onCreate events are completed during the run task and then the onRender events are done in the render task.</p>
<p>When the RunAndRenderTask is used then for each report item the onCreate event will be followed immediately by the onRender event.</p>0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 106 General Questions
- 142 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management