Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8241091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:43:04+00:00 2026-06-07T20:43:04+00:00

Within a Django application, I’m using SlickGrid to bind some XHR data to a

  • 0

Within a Django application, I’m using SlickGrid to bind some XHR data to a client-side spreadsheet:

 var grid;
 var review_url = '/api/reviews/?t=' + current_tcode;
 $.getJSON(review_url, function(data) {
   grid = new Slick.Grid("#myGrid", data, columns, options);
 });

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?

  1. Simply link to a CSV file that I render myself (with Piston, which I’m already using for the API).
  2. Do something clever using SlickGrid to output CSV data on the client side.
  3. Something else.

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T20:43:06+00:00Added an answer on June 7, 2026 at 8:43 pm

    SlickGrid is purely a component for visualization. Feed it the data, and it will render 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:

    Option 1. Render the CSV client-side by generating it directly form the 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.

    -or-

    Option 2. Render the CSV server-side and make it accessible via url, possible by adding a formatting parameter to your review_url.

    I don’t know of any functionality in the grid that will help you here, but maybe someone will correct me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to deplay a django application/project, which i have created within Aptana.
I'm using Recaptcha within Django. I was using the following tutorial to integrate it
I'm experiencing a really bizarre behavior when using the test client in django. I'm
I am using FCKEditor within a Django app served by Apache/mod-wsgi. I don't want
I would like to know what is the best import strategy within django reusable
I am trying to expand the relationships within my Django Models. I have a
>>> from django.core.management import call_command >>> call_command('syncdb') executes the syncdb management command from within
Within an asp.net MVC app, I'm trying to find rooms which have a guest/client,
Within a for loop, I'm using the following code to convert from one date
I have a Django application which edits a database table, which another application polls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.