ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 1 voice, and was last updated by  Alex Taylor 2 years, 3 months ago.

  • Creator
    Topic
  • #9286

    Alex Taylor
    Participant

    Hi all,

    I am trying to create a custom datagrid extension that will allow a datagrid to be emailed/printed in PDF form. We have created the PDF functionality of this, however need to add buttons to datagrids when under the option ‘options’ in the yml file an option ‘print’ or ’email’ would equal true. On click would export the current state of the grid in PDF.

    Currently we have a seperate twig file that we can send the grid name to, and which we use to generate the pdf. Is this the easiest way? Also what listeners do we need to configure in order to display our custom buttons beside the ‘Export Grid’ Button to the top left of the grid. Or is any of this possible without hacking core?

    Thanks in advance,
    Alex

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #9287

    Alex Taylor
    Participant

    If it makes any difference, this is for the Reporting section.

    Cheers

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.