Change column with of report

Hi,

by default it is not possible to change the column width in the generated PDF from the report module. A customer would like to change them since there is a lot of data in one of the columns. Does anyone know where start looking so I can change it in a upgrade safe way?

Parents
  • I would start off in ./modules/Reports/sugarpdf/ and ./modules/Reports/templates/. There are a couple of classes in there that correspond with the logic that is used to generate the PDF files. 

    You should be able to drop your custom versions in ./custom/modules/Reports/sugarpdf and ./custom/modules/Reports/templates. 

    There is a good chance you may need to drill down a bit, but that should be a good starting point. Its been a while since I've done things with that code, so I don't remember for sure, but perform a Quick Repair and Rebuild if your changes are not being picked up.

    Hope that helps.

Reply
  • I would start off in ./modules/Reports/sugarpdf/ and ./modules/Reports/templates/. There are a couple of classes in there that correspond with the logic that is used to generate the PDF files. 

    You should be able to drop your custom versions in ./custom/modules/Reports/sugarpdf and ./custom/modules/Reports/templates. 

    There is a good chance you may need to drill down a bit, but that should be a good starting point. Its been a while since I've done things with that code, so I don't remember for sure, but perform a Quick Repair and Rebuild if your changes are not being picked up.

    Hope that helps.

Children