{"action":"created","issue":{"url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/151","repository_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable","labels_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/151/comments","events_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/151/events","html_url":"https://github.com/simonbengtsson/jsPDF-AutoTable/issues/151","id":167740671,"number":151,"title":"Easier way to add page numbers","user":{"login":"simonbengtsson","id":3586691,"avatar_url":"https://avatars.githubusercontent.com/u/3586691?v=3","gravatar_id":"","url":"https://api.github.com/users/simonbengtsson","html_url":"https://github.com/simonbengtsson","followers_url":"https://api.github.com/users/simonbengtsson/followers","following_url":"https://api.github.com/users/simonbengtsson/following{/other_user}","gists_url":"https://api.github.com/users/simonbengtsson/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbengtsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbengtsson/subscriptions","organizations_url":"https://api.github.com/users/simonbengtsson/orgs","repos_url":"https://api.github.com/users/simonbengtsson/repos","events_url":"https://api.github.com/users/simonbengtsson/events{/privacy}","received_events_url":"https://api.github.com/users/simonbengtsson/received_events","type":"User","site_admin":false},"labels":[{"id":126795510,"url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T00:10:50Z","updated_at":"2016-12-26T00:27:06Z","closed_at":null,"body":"Currently the best way to add page numbers is to use the `addPageContent` hook. As this is a common requirement it would be nice to have an easier way to accomplish this. For example an option like `pageNumbers: 'left'|'center'|'right'|false`."},"comment":{"url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/comments/269143369","html_url":"https://github.com/simonbengtsson/jsPDF-AutoTable/issues/151#issuecomment-269143369","issue_url":"https://api.github.com/repos/simonbengtsson/jsPDF-AutoTable/issues/151","id":269143369,"user":{"login":"simonbengtsson","id":3586691,"avatar_url":"https://avatars.githubusercontent.com/u/3586691?v=3","gravatar_id":"","url":"https://api.github.com/users/simonbengtsson","html_url":"https://github.com/simonbengtsson","followers_url":"https://api.github.com/users/simonbengtsson/followers","following_url":"https://api.github.com/users/simonbengtsson/following{/other_user}","gists_url":"https://api.github.com/users/simonbengtsson/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbengtsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbengtsson/subscriptions","organizations_url":"https://api.github.com/users/simonbengtsson/orgs","repos_url":"https://api.github.com/users/simonbengtsson/repos","events_url":"https://api.github.com/users/simonbengtsson/events{/privacy}","received_events_url":"https://api.github.com/users/simonbengtsson/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T00:27:06Z","updated_at":"2016-12-26T00:27:06Z","body":"I am a little hesitant on adding this since it would be limited to showing the page number the current table spans. It would not be an easy way to add the total page number after it either. For these reasons I will not implement this at this stage.\r\n\r\nOne interesting option might be to monkey patch `jspdf.addPage` and `jspdf.output`. This would enable all kinds of page number features. I will close this now, but might reopen it after version 3.0."}}
{"actor":{"display_login":"simonbengtsson"}}