Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Changing field width and font style dynamicly
Re: Changing field width and font style dynamicly [message #2513 is a reply to message #2512] Thu, 29 April 2010 05:12 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2355
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.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Action bar
Next Topic: Blank screen after file upload transaction
Goto Forum:
  


Current Time: Sat Aug 03 13:18:51 EDT 2024

Total time taken to generate the page: 0.01002 seconds