{"action":"closed","issue":{"url":"https://api.github.com/repos/l-lin/angular-datatables/issues/1303","repository_url":"https://api.github.com/repos/l-lin/angular-datatables","labels_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/1303/labels{/name}","comments_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/1303/comments","events_url":"https://api.github.com/repos/l-lin/angular-datatables/issues/1303/events","html_url":"https://github.com/l-lin/angular-datatables/issues/1303","id":356511632,"node_id":"MDU6SXNzdWUzNTY1MTE2MzI=","number":1303,"title":"pdfmake in button extension","user":{"login":"lammh","id":7395544,"node_id":"MDQ6VXNlcjczOTU1NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7395544?v=4","gravatar_id":"","url":"https://api.github.com/users/lammh","html_url":"https://github.com/lammh","followers_url":"https://api.github.com/users/lammh/followers","following_url":"https://api.github.com/users/lammh/following{/other_user}","gists_url":"https://api.github.com/users/lammh/gists{/gist_id}","starred_url":"https://api.github.com/users/lammh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lammh/subscriptions","organizations_url":"https://api.github.com/users/lammh/orgs","repos_url":"https://api.github.com/users/lammh/repos","events_url":"https://api.github.com/users/lammh/events{/privacy}","received_events_url":"https://api.github.com/users/lammh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-03T13:43:25Z","updated_at":"2018-10-06T13:28:04Z","closed_at":"2018-10-06T13:28:04Z","author_association":"NONE","body":"How I can use pdfmake , with angular6\r\n\r\nI have create a button\r\n  ngOnInit(): void {\r\n    this.dtOptions = {\r\n      ajax: 'data/get_villes.php',\r\n      columns: [{\r\n        title: 'ID',\r\n        data: 'villeId'\r\n      }, {\r\n        title: 'Nom ville',\r\n        data: 'villeTitle',\r\n      }\r\n    , {\r\n        title: 'act',\r\n        data: 'act',\r\n        class: 'none'\r\n      }],\r\n\r\n      dom: 'Bfrtip',\r\n      // Configure the buttons\r\n\r\n      // Use this attribute to enable the responsive extension\r\n      responsive: true,\r\n      select: true,\r\n\r\n      buttons: [\r\n\r\n          {\r\n              extend: 'collection',\r\n              text: 'Export',\r\n              buttons: [\r\n                  'copy',\r\n                  'excel',\r\n                  'csv',\r\n                  'pdf',\r\n                  'print'\r\n              ]\r\n          }\r\n      ]\r\n\r\n} \r\n    };\r\nbut i can fond pdf\r\n![image](https://user-images.githubusercontent.com/7395544/44990008-09d67080-af90-11e8-9bbc-bfa97e11d99a.png)\r\n\r\n## Environment\r\n\r\n<pre><code>\r\n- node version: \r\n- angular version:6.1.5\r\n- angular-cli version:6.1.5\r\n- jquery version:3.3.1\r\n- datatables version:.10.19\r\n- angular-datatables version: 6.0.0\r\n</code></pre>\r\n"}}
{"actor":{"display_login":"l-lin"}}