{"action":"opened","issue":{"url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/105","labels_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/105/comments","events_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/105/events","html_url":"https://github.com/simonbengtsson/jsPDF-AutoTable/issues/105","id":127191046,"number":105,"title":"first column has padding which is impossible to remove","user":{"login":"PruthviKumarBK","id":11025372,"avatar_url":"https://avatars.githubusercontent.com/u/11025372?v=3","gravatar_id":"","url":"https://api.github.com/users/PruthviKumarBK","html_url":"https://github.com/PruthviKumarBK","followers_url":"https://api.github.com/users/PruthviKumarBK/followers","following_url":"https://api.github.com/users/PruthviKumarBK/following{/other_user}","gists_url":"https://api.github.com/users/PruthviKumarBK/gists{/gist_id}","starred_url":"https://api.github.com/users/PruthviKumarBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PruthviKumarBK/subscriptions","organizations_url":"https://api.github.com/users/PruthviKumarBK/orgs","repos_url":"https://api.github.com/users/PruthviKumarBK/repos","events_url":"https://api.github.com/users/PruthviKumarBK/events{/privacy}","received_events_url":"https://api.github.com/users/PruthviKumarBK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T09:56:28Z","updated_at":"2016-01-18T09:56:28Z","closed_at":null,"body":"HI, \r\n\r\nGreat library, Thanks for helping the world with nightmare of dealing with tables and PDF conversion. \r\n\r\nI have this wierd issue where first column's contents are not getting left aligned at all. There is some amount of padding flowing in despite me wanting to! I have tried many ways to have it removed but cant get through.\r\n\r\nHere is the hardcoded table and Screen print of what i get:\r\n\r\n<table id=\"idTbl_Cftc_Fig1\" class=\"display\">\r\n                      <thead>\r\n                        <tr>\r\n                           <th id=\"idTh1_Cftc_Fig1\"> Contracts ('000)* </th>\r\n                           <th id=\"idTh3_Cftc_Fig1\"> 12-Jan-16 </th>\r\n                           <th id=\"idTh3_Cftc_Fig1\"> 5-Dec-16 </th>\r\n                           <th id=\"idTh3_Cftc_Fig1\"> Weekly Change </th>                           \r\n                           <th id=\"idTh4_Cftc_Fig1\"> Z Score*** </th>\r\n                        </tr>                       \r\n                      </thead>\r\n                      <tbody>\r\n                        <tr id=\"idTr1_Cftc_Fig1\" class=\"tbl_rowBorder\">\r\n                          <td id=\"idTr1Td1_Cftc_Fig1\" style=\"font-weight:bold;\">\r\n                            Currencies - Majors\r\n                          </td>\r\n                          <td id=\"idTr1Td2_Cftc_Fig1\">\r\n                            \r\n                          </td>\r\n                          <td id=\"idTr1Td3_Cftc_Fig1\">\r\n                            \r\n                          </td>\r\n                          <td id=\"idTr1Td4_Cftc_Fig1\">\r\n                            \r\n                          </td>\r\n                          <td id=\"idTr1Td5_Cftc_Fig1\">\r\n                            \r\n                          </td>\r\n                        </tr>\r\n                        <tr id=\"idTr2_Cftc_Fig1\" class=\"tbl_rowBorder\">\r\n                          <td id=\"idTr2Td1_Cftc_Fig1\">\r\n                            EUR\r\n                          </td>\r\n                          <td id=\"idTr2Td2_Cftc_Fig1\">\r\n                            -107.9\r\n                          </td>\r\n                          <td id=\"idTr2Td3_Cftc_Fig1\">\r\n                            -119.1\r\n                          </td>\r\n                          <td id=\"idTr2Td4_Cftc_Fig1\">\r\n                            11.2\r\n                          </td>\r\n                          <td id=\"idTr2Td5_Cftc_Fig1\">\r\n                            -0.15\r\n                          </td>\r\n                        </tr>\r\n                        <tr id=\"idTr2_Cftc_Fig1\" class=\"tbl_rowBorder\">\r\n                          <td id=\"idTr2Td1_Cftc_Fig1\">\r\n                            JPY\r\n                          </td>\r\n                          <td id=\"idTr2Td2_Cftc_Fig1\">\r\n                            -0.2\r\n                          </td>\r\n                          <td id=\"idTr2Td3_Cftc_Fig1\">\r\n                            -24.4\r\n                          </td>\r\n                          <td id=\"idTr2Td4_Cftc_Fig1\">\r\n                            24.2\r\n                          </td>\r\n                          <td id=\"idTr2Td5_Cftc_Fig1\">\r\n                            2.33\r\n                          </td>\r\n                        </tr>\r\n\r\ntable continues on the same lines.\r\n\r\nI have used data table to render it upfront and code for auto table init is as follows:\r\n\r\n pdfTblObj.autoTable(getJsonObjForAutotable['columns'],getJsonObjForAutotable['rows'],{tableWidth: 'wrap',\r\n            styles: {overflow:'linebreak',columnWidth:'wrap'},\r\n            headerStyles: {rowHeight: 15, fontSize: 7,valign:'middle',halign:'center'},\r\n            bodyStyles: {rowHeight: 1, fontSize: 6,valign:'middle',halign:'right'},\r\n            columnStyles : {0:{columnWidth: 'auto',halign:'left'}},\r\n            pageBreak: 'avoid'           \r\n          });\r\n          pdfTblObj.save('table.pdf');\r\n\r\nresult obtained:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11025372/12388244/c1e0f7fa-bdf7-11e5-8725-aa0818e89d17.png)\r\n\r\n\r\nWhat is wrong with the first column!!! \r\n\r\nThank you for your help\r\n\r\nBest,\r\nPruthvi\r\n\r\n\r\n\r\n"}}