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

Home » RADICORE development » Bug Reports » Change number of columns in PDF list report
Re: Change number of columns in PDF list report [message #4081 is a reply to message #4080] Fri, 28 February 2014 06:18 Go to previous messageGo to previous message
haider.faraz is currently offline  haider.faraz
Messages: 15
Registered: July 2013
Junior Member
I am using the following function to change the column count at run time:

    function _cm_pre_output($filename)
    {
    	array_pop($this->report_structure['multi1']['fields'][0]);
        return $filename;
    } // _cm_pre_output


One can then have a single report structure file with N number of columns defined in it and call the function:
array_pop($this->report_structure['multi1']['fields'][0]);

Y times such that N-Y = K.

[Updated on: Fri, 28 February 2014 06:40] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDF does not print cells with only 'zero' (string or integer)
Next Topic: Adding line breaks to text fields
Goto Forum:
  


Current Time: Tue Jun 28 15:02:24 EDT 2022

Total time taken to generate the page: 0.01457 seconds