jQWidgets Forums

jQuery UI Widgets Forums TreeGrid Export data for sending email

This topic contains 2 replies, has 2 voices, and was last updated by  eric379990 9 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Export data for sending email #78358

    eric379990
    Participant

    Hello, I have several treegrids generated by customer actions on my report page, when the customer clicks the send the report button, I want to get all the treegrids data and combine them in html format and send out with email. I have go through the API document, seems there is only way to export the whole data to html file. May you help to check if there are some methods to get the whole grid data in html string or elements, not files. I want to combine several tables in one email.

    Another question, when I use the exportData method, it is need to call http://jquerygrid.net/export_server/save-file.php, but sometimes I cannot connect to the url since I am in China. Do you have other local method to do this export?

    Thanks so much!
    BR/Eric

    Export data for sending email #78362

    Dimitar
    Participant

    Hello Eric,

    1. You can export your tree grids to variables (not files) by first setting the property exportSettings.fileName to null and then calling:
      var jqxTreeGridHTML = $("#jqxTreeGrid").jqxTreeGrid('exportData', 'html');
    2. If you export the tree grids to variables, access to our export server will not be necessary. If, however, you wish to host save-file.php on your own server, you can access it by purchasing a Developer or Enterprise license.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Export data for sending email #78367

    eric379990
    Participant

    Thanks Dimitar

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

You must be logged in to reply to this topic.