OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Custom Datagrid Extension

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33819

    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
  • #33820

    Alex Taylor
    Participant

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

    Cheers

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top