Open shivamtandon opened 10 years ago
Excel accepts csv so you can create your CSV by iterating over the rows using grid.GetData(). Then there are a couple ways to force a download, using a new window or a[download] attribute with the data URI.
Also there's examples/example-excel-compatible-spreadsheet.html which howcases the copy/paste from/to Excel.
Met vriendelijke groeten / Best regards,
Ger Hobbelt
web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: ger@hobbelt.com
On Fri, Aug 22, 2014 at 7:50 PM, Steven notifications@github.com wrote:
Excel accepts csv so you can create your CSV by iterating over the rows using grid.GetData(). Then there are a couple ways to force a download, using a new window or a[download] attribute with the data URI.
— Reply to this email directly or view it on GitHub https://github.com/mleibman/SlickGrid/issues/995#issuecomment-53096328.
Hi Steven
I was going through your email and still stuck at one thing that if i want all the grid formattin to be present in the csv extract the same suggested by you wont work
Thanks & Regards Shivam Tandon On 22 Aug 2014 23:20, "Steven" notifications@github.com wrote:
Excel accepts csv so you can create your CSV by iterating over the rows using grid.GetData(). Then there are a couple ways to force a download, using a new window or a[download] attribute with the data URI.
— Reply to this email directly or view it on GitHub https://github.com/mleibman/SlickGrid/issues/995#issuecomment-53096328.
@shivamtandon While iterating through your data you can call your formatter functions on the appropriate columns but then you will need to save as HTML.
Excel is smart enough to open an html file with a
Hi Leibman,
Do you see in near future any possibility of providing the excel export functionality for slickgrid, as it is a much required feature for the modern day grids.