FlexGrid Details Export

Posted by: ccarey40 on 11 January 2021, 3:27 am EST

  • Posted 11 January 2021, 3:27 am EST

    I am using React and I am using the export functionality to make pdfs from my grid, works great. But I know have integrated Grid details and the expanded grid wont show up on the export. Can you help with the explanation of this?
  • Replied 11 January 2021, 5:14 pm EST

    Hi Christopher,

    To also include the row details, you may set the drawDetailRows and customCellContent to true and use the formatItem callback to draw the detail cells. Please refer to the sample link below for reference:

    https://stackblitz.com/edit/react-vudfen

    PS: Only the visible row details will be exported to the PDF because when a row detail is not visible, the HTML element containing the detail row is also not visible in the DOM. Therefore, the PDF converter will not be able to render it.

    Regards,
    Ashwin
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels