#### How to use BIRT Report Designer to enter a JavaScript event handler

1. In Outline, select the report element, data source, or data set for which you want to write an event handler.
2. Choose the Script tab.
3. Choose an event handler from the drop-down list of methods.
4. 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.