{"action":"created","issue":{"url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/40","labels_url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/40/comments","events_url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/40/events","html_url":"https://github.com/someatoms/jsPDF-AutoTable/issues/40","id":88776088,"number":40,"title":"Linebreaks in header working but height of header not increasing","user":{"login":"ankur2728","id":11086724,"avatar_url":"https://avatars.githubusercontent.com/u/11086724?v=3","gravatar_id":"","url":"https://api.github.com/users/ankur2728","html_url":"https://github.com/ankur2728","followers_url":"https://api.github.com/users/ankur2728/followers","following_url":"https://api.github.com/users/ankur2728/following{/other_user}","gists_url":"https://api.github.com/users/ankur2728/gists{/gist_id}","starred_url":"https://api.github.com/users/ankur2728/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankur2728/subscriptions","organizations_url":"https://api.github.com/users/ankur2728/orgs","repos_url":"https://api.github.com/users/ankur2728/repos","events_url":"https://api.github.com/users/ankur2728/events{/privacy}","received_events_url":"https://api.github.com/users/ankur2728/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T16:31:09Z","updated_at":"2015-06-16T23:04:53Z","closed_at":null,"body":"Linebreak is allowing Headers to break in the next line but height of the header does not increase. Please let me know the urgent fix. If it requires much time to fix, then please let me know how can i set the width of each column. I am using HTML table to export it into pdf. Please assist as soon as possible.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/comments/112598632","html_url":"https://github.com/someatoms/jsPDF-AutoTable/issues/40#issuecomment-112598632","issue_url":"https://api.github.com/repos/someatoms/jsPDF-AutoTable/issues/40","id":112598632,"user":{"login":"someatoms","id":3586691,"avatar_url":"https://avatars.githubusercontent.com/u/3586691?v=3","gravatar_id":"","url":"https://api.github.com/users/someatoms","html_url":"https://github.com/someatoms","followers_url":"https://api.github.com/users/someatoms/followers","following_url":"https://api.github.com/users/someatoms/following{/other_user}","gists_url":"https://api.github.com/users/someatoms/gists{/gist_id}","starred_url":"https://api.github.com/users/someatoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someatoms/subscriptions","organizations_url":"https://api.github.com/users/someatoms/orgs","repos_url":"https://api.github.com/users/someatoms/repos","events_url":"https://api.github.com/users/someatoms/events{/privacy}","received_events_url":"https://api.github.com/users/someatoms/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T23:04:53Z","updated_at":"2015-06-16T23:04:53Z","body":"It works in the example I set up [here](http://localhost:63343/autotable/examples/examples.html#long). Can you post the code you are using where it doesn't work? To set custom column widths you would have to loop over the columns extracted by the `autoTableHtmlToJson` function and create an array of objects on this format:\r\n\r\n    var columns = [\r\n        {title: \"ID\", key: \"id\", width: 100},\r\n        {title: \"Name\", key: \"name\", width: 200},\r\n        ...\r\n    ];"}}