{"action":"opened","issue":{"url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/182","repository_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable","labels_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/182/comments","events_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/182/events","html_url":"https://github.com/simonbengtsson/jsPDF-AutoTable/issues/182","id":185170763,"number":182,"title":"Custom header style issue","user":{"login":"CJX3M","id":5133204,"avatar_url":"https://avatars.githubusercontent.com/u/5133204?v=3","gravatar_id":"","url":"https://api.github.com/users/CJX3M","html_url":"https://github.com/CJX3M","followers_url":"https://api.github.com/users/CJX3M/followers","following_url":"https://api.github.com/users/CJX3M/following{/other_user}","gists_url":"https://api.github.com/users/CJX3M/gists{/gist_id}","starred_url":"https://api.github.com/users/CJX3M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJX3M/subscriptions","organizations_url":"https://api.github.com/users/CJX3M/orgs","repos_url":"https://api.github.com/users/CJX3M/repos","events_url":"https://api.github.com/users/CJX3M/events{/privacy}","received_events_url":"https://api.github.com/users/CJX3M/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T16:39:28Z","updated_at":"2016-10-25T16:39:28Z","closed_at":null,"body":"As I mentioned on my previous suggestion\r\n\r\nhttps://github.com/simonbengtsson/jsPDF-AutoTable/issues/178\r\n\r\nI'm having an issue with this \"custome style\" I'm implementing\r\n\r\nEverything works as expected except for 1 thing.\r\n\r\nThis is the header of my table I'm translating to PDF\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5133204/19694854/7d43eb70-9aa6-11e6-93ed-060025624463.png)\r\n\r\nIf I set the style on the createdHeaderCell, it comes out like this\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5133204/19694889/9ba4591a-9aa6-11e6-99d2-5959014bdf06.png)\r\n\r\nIt's setting the same style for all the header row\r\n\r\nSetting the style in the drawHeaderCell, comes out like this\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5133204/19695110/82c063fc-9aa7-11e6-8d4e-2023ecb3eada.png)\r\n\r\nIt's moving the style by 1 cell offset\r\n\r\nAny idea how to solve this?\r\n\r\nThanks in advance!"}}
{"actor":{"display_login":"CJX3M"}}