Function | Where the function operates |
---|---|
beforeReportInit(); | Before report initialization |
afterReportInit(); | After report initialization |
beforePageInit(); | Entering a page |
afterPageInit(); | Leaving a page |
beforeColumnInit(); | Before column initialization |
afterColumnInit(); | After column initialization |
beforeGroupInit (groupName String); | Before group initialization, where groupName refers to a <group> tag in the design document |
afterGroupInit(groupName String); | After group initialization |
beforeDetailEval(); | Before each row is printed |
afterDetailEval(); | After each row is printed |
function afterGroupInit(groupName String) if (groupName == “cat”) setReportVariableValue (“NewGroupName”, “dog”); else setReportVariableValue (“NewGroupName”, groupName); end end
You can also create your own functions. See JasperReports documentation for information about creating custom functions.
For examples using predefined report handler functions, see Creating an EGL report handler.
Related concepts
EGL report creation process overview
EGL reports overview
Related tasks
Creating an EGL report handler
Related reference
Additional EGL report handler functions
EGL library ReportLib
EGL report handler
Report and ReportData parts