How to add print to pdf functionality while using custom reports

Hello,

Does anyone know how I can create PDF from the custom report. I don't have any idea about how to add custom print to pdf functionality in custom reports.

from the above screenshot have export to word functionality but I want same as print as pdf button then it will fetch all the records which is showing in screenshot as it is.

Thank you

Parents
  • It looks like you are working with an entirely custom module and it's very hard for others to help you with a fully custom reporting module.

    If I were you I would start by looking at how Sugar does the Export to PDF in the Reports module:

     modules/Reports/clients/base/api/ReportsExportApi.php

    and try to learn from that.

    FrancescaS

Reply
  • It looks like you are working with an entirely custom module and it's very hard for others to help you with a fully custom reporting module.

    If I were you I would start by looking at how Sugar does the Export to PDF in the Reports module:

     modules/Reports/clients/base/api/ReportsExportApi.php

    and try to learn from that.

    FrancescaS

Children