|
Re: Changing field width and font style dynamicly [message #2513 is a reply to message #2512] |
Thu, 29 April 2010 05:12 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
All styles which you want to use in a subsystem should be defined in the PDF Style File. Each report has its own Structure File which defines the specifics for that report, such as what goes where, and which style to use for which element. You therefore define the style that you want to use for each report element in the Report Structure File.
It is possible to change the style of individual fields at runtime by putting code into the _cm_formatData() method. To change the style of a field you should use code such as the following:
$css_array['field'] = 'style_name';
It is not possible to change the width of a field, only its style.
I hope this helps.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|
|
|
|