HTML Elements Forums Data Grid Grid Export Error messages

This topic contains 2 replies, has 2 voices, and was last updated by Avatar admin 3 weeks, 5 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #100929
    Avatar
    Gerhard Seemann
    Participant

    Hello,

    I get errors exporting grid data. Maybe there is a missing script. I included just the smart.elements.js, but shouldn’t it containĀ all other scripts?

    If I try to export an xlsx or pdf or print the data, I get following JS errors:

    XLSX:

    smart.elements.js:29 Uncaught ReferenceError: JSZip is not defined

    Print:

    Uncaught TypeError: grid.print is not a function

    PDF:
    smart.elements.js:29 Uncaught ReferenceError: pdfMake is not defined

    Hope you can help me to fix that.

    Best Regards,
    Gerhard

    #100930
    Avatar
    Gerhard Seemann
    Participant

    Alright,

    I found the scripts for exporting PDF and XLSX, but I’m still having problems with the print method.

    Where is the function implemented? Or is my version too old? How could I check that?

    Greetings,
    Gerhard

    #100932
    Avatar
    admin
    Keymaster

    Hi Gerhard,

    I would suggest you to check the code and required scripts in this demo: https://www.htmlelements.com/demos/grid/print/.
    The printing internally uses the Data Export and the Web Browser’s Printing API.

    Best Regards,
    Peter

    Smart HTML Element
    https://www.htmlelements.com/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.