Export a JQuery SlickGrid to CSV file. Contribute to TetHat/SlickGrid-Export-CSV development by creating an account on GitHub. What is the Best way to export the Data into Excel file? jack. Sign in to reply. 9/24 /10 ChrisMH. You have to do it in server-side code. Here’s a good way using. Hi, I have this slickgrid data working on my page but there is a requirement to export the data displayed on the grid in CSV format. Can anyone.
|Published (Last):||21 November 2016|
|PDF File Size:||2.78 Mb|
|ePub File Size:||19.23 Mb|
|Price:||Free* [*Free Regsitration Required]|
SlickGrid Export to Excel
I’d also like to give the user the option to download the data as a CSV file. What is the best approach to doing this? SlickGrid feels fully-featured enough that it might have something in-built to output CSV, but I can’t find anything on a quick search.
SlickGrid is purely a component for visualization. Feed it the data, and it will slickgric it as a grid to the user. Heck, it isn’t even smart enough to sort the data. As such, it has no functionality to transform data in any way. So if you want to get the grid data in CSV format you have two options:.
Render the CSV client-side by generating it directly form slickgrld underlying data array. Since you’re already returning the data in json format, you should be able to do this pretty easily with something like this. I don’t know of any functionality in the grid that will help you here, but maybe someone will correct me.
You may want to look at this: In my opinion if You want only CSV – render it on the server. Also You may find this railscasts episode interesting – only find tools suitable for Django to do this.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.