5.6 Report Handler Example
In this example (handlers.srt in the examples/docExamples/script directory) you will use report-level scripts to calculate the per-page total of sales over and below $1,000. It uses handlers to perform the following tasks:
Note: Set your Repository location to examples/docExamples/script. See Configuring and Selecting a Repository in Getting Started for instructions.
• In the page footer, display the sales totals for the current page over and below $1,000.
• Highlight the rows with sales over $1,000.
Figure 6. Report Handler Example (handlers.srt)

| << 5.5 onPrint Handler | © 1996-2013 InetSoft Technology Corporation (v11.4) | Calculate Page Total >> |