kirlisakal kirlisakal - 10 months ago 92
jQuery Question

Jquery Table to Excel

I want to add Excel button below the html table, that gives an Excel sheet of the table. I am using C# behind it, but I want it do on client side just using jQuery or Javascript without using PHP or .NET... Not more.

I am searching for hours however I don't find any fix solution. There it said you can use activeX object and CSV however I don't see any running examples.

Answer Source

ActiveX will only run on Internet Explorer so your solution will be limited to that platform.

Without ActiveX or server side scripts there is no way to achieve this due to JavaScript security designs it is not allowed to create files or push in memory files to download streams.