Export excel using Javascript

Asked

Viewed 31 times

0

I wonder how I do a function that exports a table to excel but does not show certain columns defined with a class

  • Take a look at this jQuery plugin: http://papaparse.com/

  • I took a look, but from what I can tell, you don’t have the option of not show certain columns

  • 1

    Right, to do this you will have to create an algorithm to capture the values of the table and go populating a JSON with these values, ignoring the columns desired. Then you convert JSON to . CSV using the plugin. (then I post an example of code)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.