- Import the included plugin file into your application.
- Run the included SQL file in folder "server" to install the package. (optional)
- Prefix the values in "Render Function Name" and "AJAX Function Name" with the package name. (optional)
- Create a dynamic action firing after refresh of an interactive report.
- Select plugin as action and set affected elements to "Triggering Element" and leave "Fire on Page Load" set to "Yes".
- Modify the column's single row headings the way you want them to be shown.
If you want to enable the plugin for all interactive reports in an application create the plugin on the global page.
Set "Selection Type" to "jQuery Selector" and enter ".a-IRR" as selector.
The render function places some JavaScript on the page which calls the AJAX Callback and hands the result to another function.
The AJAX Callback retrieves all single row column headings which differ from the standard headings for the affected interactive report and sends it back as an JSON-Object in following format:
"Column ID": "Single Row Heading"
The rendered function loops through the object and replaces the current column heading with the received value.