Back
overlibLens
Table Cell formating
overlibLens
Uses the overlib library to create a javascript popup in the grid for specific columns
Default:
To configure a javascript popup for the SHORT_NAME field that displays the DETAILS and MORE_DETAILS fields, you should do this:

$this->overlibLens = 'SHORT_NAME^Details:<br>{DETAILS} {MORE_DETAILS}';

You can use PHP code using:

$this->overlibLens = 'SHORT_NAME^=strtoupper({DETAILS})';


You can also define additional overlib parameters (see overlib docs) like this:

$this->overlibLens = 'COL1^{COL2}^WIDTH,300,HEIGHT,200';

The overlib parameters are documented here: http://www.bosrup.com/web/overlib/reference.html

Syntax
$lens->overlibLens = "$fieldname^{FIELD2} {FIELD3}^$overlib_parameters";
$lens->overlibLens .= ";$fieldname2^Some Text";

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 3.0]