Click here to Skip to main content
14,638,900 members
Rate this:
Please Sign up or sign in to vote.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100