Home > Articles > Data

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

About a report item event handler

You can write event handlers for all report item elements, such as Label and List. Table 8-1 describes the report item event handler methods.

Table 8-1. Report item event handler methods

Method

Description

onPrepare( )

The onPrepare event fires at the beginning of the generation phase, before data binding or expression evaluation occurs. This event is useful for changing the design prior to data binding or expression evaluation.

onCreate( )

The onCreate event fires at the time the element is created in the generation phase, after it is bound to data. This event is useful for operations that depend on the data content of the element.

onRender( )

The onRender event fires in the presentation phase. This event is useful for operations that depend on the type or format of the output document.

  • + Share This
  • 🔖 Save To Your Account