Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

Quick question, has anyone got any example code for exporting data from a table to CSV, in Lightswitch.

I can find lots of example for the Web App, but not the HTML5 Client which is based on Javascipt.

I have tried to use javascript to generate the CSV but am unable to get the file to download.

Any assistance would be greatly appreciated.

Thanks,

Matt
Posted
Comments
Nathan Minier 22-Dec-14 11:49am    
Are you generating the csv for consumption of the client side, or is it supposed to be sent back to the server and built into a file there?
Member 4449297 22-Dec-14 16:31pm    
I was doing it for client side consumption but either is an option if you have an answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900