Skip to Content
0
Former Member
Sep 29, 2017 at 05:59 PM

Saving JSON data as an excel file / csv file

933 Views

I have a table on UI5 application, and I want the download of that data to have some additional columns (than what is shown on the screen).
So I developed an oData which returns the required data as a JSON string.
Now I am having a difficult time saving the JSON as an excel / csv.
I tried the solution in http://jsfiddle.net/hybrid13i/JXrwM/ but it works only in Chrome.
a) How can I get the above to work in IE, and
b) Is there any other way in which I can save JSON data as a csv/excel file upon click of a button.