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

Subscribe to our news:
Partners
Testimonials
Jonathan Oakes: "This is a lovely application. It's easy to hook into my own bespoke applications. It's very powerful, yet really quite simple to use. Thanks for this".
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".

More

Add your opinion

PHP Generator for MySQL 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