{"action":"reopened","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/330","labels_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/330/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/330/events","html_url":"https://github.com/kartik-v/yii2-grid/issues/330","id":92788245,"number":330,"title":"How To Configure the Export Configuration For PDFs (Header, Footer, Title)","user":{"login":"chodges","id":197811,"avatar_url":"https://avatars.githubusercontent.com/u/197811?v=3","gravatar_id":"","url":"https://api.github.com/users/chodges","html_url":"https://github.com/chodges","followers_url":"https://api.github.com/users/chodges/followers","following_url":"https://api.github.com/users/chodges/following{/other_user}","gists_url":"https://api.github.com/users/chodges/gists{/gist_id}","starred_url":"https://api.github.com/users/chodges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chodges/subscriptions","organizations_url":"https://api.github.com/users/chodges/orgs","repos_url":"https://api.github.com/users/chodges/repos","events_url":"https://api.github.com/users/chodges/events{/privacy}","received_events_url":"https://api.github.com/users/chodges/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-03T04:29:12Z","updated_at":"2015-07-03T10:16:21Z","closed_at":null,"body":"'m trying to figure out a way to modify the header for the PDFs when I do the export.\r\nRight now the header say something like Yii2 Grid Export (PDF) Grid Export.\r\nHere is the code I'm using to try to modify it:\r\n\r\n    'exportConfig' => [\r\n                GridView::PDF => [\r\n                    'label' => 'PDF',\r\n                    'filename' => 'Preceptors',\r\n                    'title' => 'Preceptors',                        \r\n                    'options' => ['title' => 'Preceptor List','author' => 'Me'],                        \r\n                ],\r\n                GridView::CSV => [\r\n                    'label' => 'CSV',\r\n                    'filename' => 'Preceptors',\r\n                    'options' => ['title' => 'Preceptor List'],                                             \r\n                ],\r\n            ],\r\n\r\n            'export' => [\r\n                'PDF' => [\r\n                    'options' => [\r\n                        'title' => 'Preceptors',\r\n                        'subject' => 'Preceptors',\r\n                        'author' => 'NYCSPrep CIMS',\r\n                        'keywords' => 'NYCSPrep, preceptors, pdf'\r\n                    ]\r\n                ],\r\n            ],"}}