DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
OnCustomRenderExportColumn
This event occurs before column rendering into Word, Excel, etc. and allows you to replace cell content. It is an extremely useful event for conditional rendering.
Signature:
function OnCustomRenderExportColumn ($fieldName, $fieldData, $rowData,
&$customText, &$handled)
Parameters:
$fieldName |
The field name of currently processed cell. |
$fieldData |
The data of currently processed cell. |
$rowData |
The associative array of values that corresponds to the currently processed row. |
$customText |
A string to replace the original cell content. |
$handled |
A parameter to indicate whether the event handler executed. Set $handled to true in the event handler to apply new content. |
See also: OnCustomRenderColumn, OnCustomRenderPrintColumn
Prev | Return to chapter overview | Next |