How to use BIRT Report Designer to enter a JavaScript event handler
In Outline, select the report element, data source, or data set for which you want to write an event handler.
Choose the Script tab.
Choose an event handler from the drop-down list of methods.
Enter the event handler code in the script editor.
Figure 23-1
demonstrates entering a line of code in the onPrepare( ) method of a Table element.