Pdf export without truncation

Posted by: matthew.hudson on 19 January 2018, 8:22 am EST

    • Post Options:
    • Link

    Posted 19 January 2018, 8:22 am EST

    Hello,

    I am using FlexGridPdfConverter along with an instance of flexgrid in order to generate pdfs from the grid. My use case requires all of the text in both the headers and cells to be displayed in their entirety and never be truncated to only 23 or so characters. When I attempt to use the default export method it truncates both the header and data cells in the exported pdf and does not even attempt to wrap the content. In addition, even when I manually wrap the content using the item formatter, none of the lines past the first are rendered.

    How can I automatically extend the cells during the pdf export?

    I’ve tried the auto-size and disabling quickAutoSize in addition to specifying that the export should be ScaleMode.ActualSize

  • Posted 21 January 2018, 5:48 pm EST

    Hi Matthew,

    The Multi line support has been added to the PDF export in 5.20173.380. For this, you need to set wordWrap to true and resize rows to show the complete text in multiple line to the exported PDF file.

    Please refer to the attached sample for the same.

    ~Manish

    FlexGrid_PDFExport_MultiLine.zip

Need extra support?

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

Learn More

Forum Channels