I am using the solution mentioned here: Export to CSV using jQuery and html 
<http://stackoverflow.com/questions/16078544/export-to-csv-using-jquery-and-html?answertab=active#tab-top>

The fiddle for this is: http://jsfiddle.net/terryyounghk/KPEGU/

I will be calling the function exportTableToCSV multiple times as I have 
three tables per category (Category1 has three tables, Category2 has three 
tables and CAtegory3 has three tables).

What I want is a separate sheet in the same excel file per category.

How do I need to change the following code here to be able to create three 
sheets in the same excel file - Category 1, 2 and 3?

$(this).attr({
                                'download': 'export.csv',
                                'href': csvData,
                                'target': '_blank'
                            });

I have implemented all 6 tables in one sheet right now. If I can figure 
this one out with this method, it will be great!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/3a387fe2-def9-44ec-89f4-6cec97badd23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to