Problem to export grid to PDF

Posted by: pedro.oliveira on 19 April 2021, 2:10 pm EST

    • Post Options:
    • Link

    Posted 19 April 2021, 2:10 pm EST

    Hello!

    I’m having trouble exporting grids to PDF, as there is an ascii sigma code “Σ”. The PDF does not recognize this code, causing “:0” to appear instead!

    this.flex.bottomLeftCells.setCellData(0, 0, "Σ");
    ```[img]https://gccontent.blob.core.windows.net/forum-uploads/file-3331a8a5-e8bb-4387-b290-9e178bcbacb0.PNG[/img][img]https://gccontent.blob.core.windows.net/forum-uploads/file-a8bfead8-ad3a-4f16-ade7-c7a8e320b230.PNG[/img]
    
    Is there a solution for this?
    
    Thanks
  • Posted 21 April 2021, 2:48 am EST

    Hi,

    The issue is arising because the exported fonts do have definitions for “Σ”. You need to add a font that supports the “Σ” using the embedded fonts option. Please refer to the attached sample demonstrating the same.

    ~sharad

    FlexGrid.zip

  • Posted 22 April 2021, 1:54 pm EST

    Hi,

    Do you have an example in vue?

    Thanks!

  • Posted 26 April 2021, 4:02 am EST

    Please refer to the attached sample demonstrating the same in Vue.

    flexgrid_customfont_pdf.zip

Need extra support?

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

Learn More

Forum Channels