Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello All,

I am working on HTML table adding rows and columns dynamically in jQuery document ready function with data now what i have to do is i have to export that table to PDF. I have tried it in several ways i have worked by using jspdf.debug.js it is throwing "ArrayBuffer" is undefined in IE9 and in Chrome PDF is generating with rows as Undefined.

My sample table format is as below.

------------------------------------------------------------------------------

                                                     Weighted Report

------------------------------------------------------------------------------

Answers  (column1)   Responses(column2)

-----------------------------------------------------------------------------

Red                  2

Green                3

------------------------------------------------------------------------------

Please help me out in this.Thanks in advance.
Posted
Updated 28-Nov-14 2:09am
v2
Comments
Sergey Alexandrovich Kryukov 28-Nov-14 18:09pm    
Why? why?!
—SA
gopichand.n 3-Dec-14 9:19am    
Here i find a problem in jspdf.debug.js it is working based on table first row cell count it is treating as header in my case for first row i have only one cell and further rows varies.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900