Birt Designer - Insert Table Elements dynamically using Event Handlers Scripting

Hello,


 


i'm using Eclipse Birt Designer v4.4.1,


I have a dataset that returns a certain number of rows.


I would like to insert dynamically Table Elements based on the number of returned rows. (If number of rows = 6, then add 6 table elements (the same table structure).


I found out recently that this could be done using Javascript (Or Java) Event Handlers :


http://eclipse.org/birt/documentation/integrating/scripting.php


(probably the onFetch event, the BeforeFactory or the onCreate Event)


Does anyone know how could this be done or provide a similar example for adding an element dynamically to a Birt Report using scripts. 


Thanks.


Comments

Sign In or Register to comment.