Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

MaxDB PHP Generator online Help

Prev Return to chapter overview Next

OnCustomRenderPrintColumn

This event occurs before column rendering on the print page and allows you to replace cell content. It is an extremely useful for conditional rendering or embedding third-party components to extend standard functionality.

 

Signature:

function OnCustomRenderPrintColumn ($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, OnCustomRenderExportColumn



Prev Return to chapter overview Next