• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

vvOut_toCSV

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vvOut_toCSV

    Good morning,

    I am attempting to get the download button in the paging tool bar to be able to download a CSV file from the contents loaded into the main grid.

    On the i5, I have the following code (that is using the same object as the main grid)

    image.png

    and on the front end, I am calling the download procedure listed above

    image.png

    I can see the contents I want to download in the Network Response, but it is not actually prompting any sort of download.


    Anyone have any suggestions?​​

  • #2
    Also, this is the code prior to the onDownloadClick

    image.png​

    Comment


    • #3
      I was able to get a download to start using the following code:

      image.png

      However, the browser is now giving me this error when attempting to download it:

      image.png​​

      Comment


      • #4
        Try using:

        Code:
        Valence.util.Helper.download({
            pgm: 'VALV437',
            action: 'download',
        });​

        Comment


        • #5
          Sean, you absolute legend. Thank you very much

          Comment

          Working...
          X