eExport data in PDF
<p>I populate data in table through jquery now i want to export that data in pdf /excel For this I try  this link <a href="http://w3lessons.info/2015/07/13/export-html-table-to-excel-csv-json-pdf-png-using-jquery/" rel="nofollow">export data link </a></p>

<p>I try this work successfully then i this code add in my file</p>

<pre><code>    &lt;a href="#" onclick="$('#tabledata').tableExport({ type: 'excel', escape: 'false' });"&gt;XLS&lt;/a&gt;

&lt;a href="#" onclick="$('#tabledata').tableExport({ type: 'pdf', escape: 'false' });"&gt;PDF&lt;/a&gt;
</code></pre>

<p>I create table with the help pf jquery </p>

<pre><code> success: function (result) {
             var final = JSON.parse(result.d).response;

             console.log(JSON.parse(result.d).response);
             $("#tabledata").empty();

             if (final.length &gt; 0) {
                 $("#tabledata").append(
          "&lt;tr&gt;&lt;th&gt;ID&lt;/th&gt;&lt;th&gt;Owner&lt;/th&gt;&lt;th&gt;RegNo&lt;/th&gt;&lt;/tr&gt;");

                 for (var i = 0; i &lt; final.length; i++) {

                     if (final[i] !== null) {
                         $("#tabledata").append("&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;" +
                                             final[i][0] + "&lt;/td&gt; &lt;td&gt;" +
                                             final[i][1] + "&lt;/td&gt; &lt;td&gt;" +
                                             final[i][2] + "&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;");

                     }
                 }
                 $("#tabledata tr:first").addClass('GridviewScrollHeader');
                 $("#tabledata tr").addClass('GridviewScrollItem');
                 $("#tabledata").addClass('GridviewScrollPager');

             }
</code></pre>

<p>ok now this get data with header also but now the problem is there is only two columns display in pdf third column is not display i think because of formatting
 check image
<a href="http://i.imgur.com/Y5WqEPS.png" rel="nofollow">image</a></p>

<p>so how i done this </p>

<p>Any solution</p>