{"action":"closed","issue":{"url":"https://api.github.com/repos/Nayjest/Grids/issues/75","labels_url":"https://api.github.com/repos/Nayjest/Grids/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Nayjest/Grids/issues/75/comments","events_url":"https://api.github.com/repos/Nayjest/Grids/issues/75/events","html_url":"https://github.com/Nayjest/Grids/issues/75","id":104419453,"number":75,"title":"ExcelExport & CSVExport in dropdown menu","user":{"login":"icemanblas","id":4690180,"avatar_url":"https://avatars.githubusercontent.com/u/4690180?v=3","gravatar_id":"","url":"https://api.github.com/users/icemanblas","html_url":"https://github.com/icemanblas","followers_url":"https://api.github.com/users/icemanblas/followers","following_url":"https://api.github.com/users/icemanblas/following{/other_user}","gists_url":"https://api.github.com/users/icemanblas/gists{/gist_id}","starred_url":"https://api.github.com/users/icemanblas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icemanblas/subscriptions","organizations_url":"https://api.github.com/users/icemanblas/orgs","repos_url":"https://api.github.com/users/icemanblas/repos","events_url":"https://api.github.com/users/icemanblas/events{/privacy}","received_events_url":"https://api.github.com/users/icemanblas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-02T07:41:59Z","updated_at":"2015-09-03T15:07:52Z","closed_at":"2015-09-03T15:07:52Z","body":"Hi,\r\n\r\nI want to use Export functionality, but I want to wrap the ExcelExport and CSVExport actions with bootstrap's dropdown menu, something like this:\r\n\r\n```php\r\n(new HtmlTag)\r\n    ->setComponents([\r\n        (new RenderFunc(function () {\r\n             return\r\n                      '<div class=\"dropdown\">' .\r\n                      '    <button class=\"btn btn-primary pull-left dropdown-toggle\" data-toggle=\"dropdown\">Export<span class=\"caret\"></span></button>' .\r\n                      '    <ul class=\"dropdown-menu\">' .\r\n                      '        <li>' .\r\n                     // excel export action\r\n                     (new ExcelExport),\r\n                         (new ExcelExport)->setIgnoredColumns(['id']) .\r\n                      '        </li>' .\r\n                      '        <li>' .\r\n                      // csv export action\r\n                        (new CsvExport)->setIgnoredColumns(['id']) .\r\n                      '        </li>' .\r\n                      '    </ul>' .\r\n                      '</div>';\r\n         }))\r\n    ]),\r\n```\r\nHowever, when I run the code, I get the following exception: \"FatalErrorException in TComponentView.php line 31: Call to a member function getConfig() on a non-object\".\r\n\r\nI have little experience with Nayjest grid and I appreciate if you help me figure out this issue."}}