{"action":"created","issue":{"url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/56","labels_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/56/comments","events_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/56/events","html_url":"https://github.com/hhurz/tableExport.jquery.plugin/issues/56","id":123500924,"number":56,"title":"Export table with Borders","user":{"login":"chistel","id":621320,"avatar_url":"https://avatars.githubusercontent.com/u/621320?v=3","gravatar_id":"","url":"https://api.github.com/users/chistel","html_url":"https://github.com/chistel","followers_url":"https://api.github.com/users/chistel/followers","following_url":"https://api.github.com/users/chistel/following{/other_user}","gists_url":"https://api.github.com/users/chistel/gists{/gist_id}","starred_url":"https://api.github.com/users/chistel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chistel/subscriptions","organizations_url":"https://api.github.com/users/chistel/orgs","repos_url":"https://api.github.com/users/chistel/repos","events_url":"https://api.github.com/users/chistel/events{/privacy}","received_events_url":"https://api.github.com/users/chistel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-22T15:26:05Z","updated_at":"2015-12-23T14:21:21Z","closed_at":null,"body":"i wouldn't call this an issue, maybe my ignorance.\r\nhow do i export table with it borders?"},"comment":{"url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/comments/166906460","html_url":"https://github.com/hhurz/tableExport.jquery.plugin/issues/56#issuecomment-166906460","issue_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/56","id":166906460,"user":{"login":"hhurz","id":4164372,"avatar_url":"https://avatars.githubusercontent.com/u/4164372?v=3","gravatar_id":"","url":"https://api.github.com/users/hhurz","html_url":"https://github.com/hhurz","followers_url":"https://api.github.com/users/hhurz/followers","following_url":"https://api.github.com/users/hhurz/following{/other_user}","gists_url":"https://api.github.com/users/hhurz/gists{/gist_id}","starred_url":"https://api.github.com/users/hhurz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhurz/subscriptions","organizations_url":"https://api.github.com/users/hhurz/orgs","repos_url":"https://api.github.com/users/hhurz/repos","events_url":"https://api.github.com/users/hhurz/events{/privacy}","received_events_url":"https://api.github.com/users/hhurz/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T14:21:21Z","updated_at":"2015-12-23T14:21:21Z","body":"Actually borders are not exported to pdf automatically. You have to set it manually by using the ```autotable: styles``` option. See [jsPDF-AutoTable](https://github.com/simonbengtsson/jsPDF-AutoTable) for more details about styles. Example:\r\n```javascript\r\n      $(selector).tableExport({type: 'pdf',\r\n                               jspdf: {orientation: 'l',\r\n                                       autotable: {styles: {fillColor: 'inherit', \r\n                                                            textColor: 'inherit',\r\n                                                            fillStyle: 'DF',\r\n                                                            lineColor: [0,0,0],\r\n                                                            lineWidth: 0.1},\r\n                                                   tableWidth: 'auto'}}});\r\n```"}}