{"action":"created","issue":{"url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/16","repository_url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel","labels_url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/16/comments","events_url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/16/events","html_url":"https://github.com/xxxcoltxxx/grid-laravel/issues/16","id":140172528,"number":16,"title":"Не работает функционал:","user":{"login":"svadim-21","id":10910454,"avatar_url":"https://avatars.githubusercontent.com/u/10910454?v=3","gravatar_id":"","url":"https://api.github.com/users/svadim-21","html_url":"https://github.com/svadim-21","followers_url":"https://api.github.com/users/svadim-21/followers","following_url":"https://api.github.com/users/svadim-21/following{/other_user}","gists_url":"https://api.github.com/users/svadim-21/gists{/gist_id}","starred_url":"https://api.github.com/users/svadim-21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svadim-21/subscriptions","organizations_url":"https://api.github.com/users/svadim-21/orgs","repos_url":"https://api.github.com/users/svadim-21/repos","events_url":"https://api.github.com/users/svadim-21/events{/privacy}","received_events_url":"https://api.github.com/users/svadim-21/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"xxxcoltxxx","id":5069097,"avatar_url":"https://avatars.githubusercontent.com/u/5069097?v=3","gravatar_id":"","url":"https://api.github.com/users/xxxcoltxxx","html_url":"https://github.com/xxxcoltxxx","followers_url":"https://api.github.com/users/xxxcoltxxx/followers","following_url":"https://api.github.com/users/xxxcoltxxx/following{/other_user}","gists_url":"https://api.github.com/users/xxxcoltxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/xxxcoltxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxxcoltxxx/subscriptions","organizations_url":"https://api.github.com/users/xxxcoltxxx/orgs","repos_url":"https://api.github.com/users/xxxcoltxxx/repos","events_url":"https://api.github.com/users/xxxcoltxxx/events{/privacy}","received_events_url":"https://api.github.com/users/xxxcoltxxx/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-11T12:27:24Z","updated_at":"2016-03-14T07:57:02Z","closed_at":null,"body":"Есть еще два момента,  на которые хотел бы обратить внимание. \r\nНе работает вот этот функционал: \r\n            'cell' => \"@{{ item.created_at | date:'dd.MM.yyyy HH:mm' }}\",\r\nтакже, не могу понять как вернуть в шаблоне значение: \r\nЯ например хочу сделать вот так:\r\n'active' => [\r\n                        'title' => 'ВКЛ',\r\n                        'type' => 'string',\r\n                        'cell' => (\"@{{ item.active }}\")?\"Вкл\":\"Вык\",\r\n                    ],\r\nНу или через blade @if.   Ну я думаю идея понятна ... \r\nКак это сделать ? \r\nбуду благодарен за подстказку... \r\n"},"comment":{"url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/comments/196188316","html_url":"https://github.com/xxxcoltxxx/grid-laravel/issues/16#issuecomment-196188316","issue_url":"https://api.github.com/repos/xxxcoltxxx/grid-laravel/issues/16","id":196188316,"user":{"login":"svadim-21","id":10910454,"avatar_url":"https://avatars.githubusercontent.com/u/10910454?v=3","gravatar_id":"","url":"https://api.github.com/users/svadim-21","html_url":"https://github.com/svadim-21","followers_url":"https://api.github.com/users/svadim-21/followers","following_url":"https://api.github.com/users/svadim-21/following{/other_user}","gists_url":"https://api.github.com/users/svadim-21/gists{/gist_id}","starred_url":"https://api.github.com/users/svadim-21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svadim-21/subscriptions","organizations_url":"https://api.github.com/users/svadim-21/orgs","repos_url":"https://api.github.com/users/svadim-21/repos","events_url":"https://api.github.com/users/svadim-21/events{/privacy}","received_events_url":"https://api.github.com/users/svadim-21/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T07:57:01Z","updated_at":"2016-03-14T07:57:01Z","body":"Запустил версию 2.0, все отлично все работает. Благодарю. \r\nЕще один маленький вопросик или даже скорее предложение по доработке: \r\nХотелось бы иметь возможность  делать пустые колонки (не существующие в БД) в которые будут заполнены например какими либо кнопками, проще показать: http://joxi.ru/L21Ro4ns6LlE4A\r\nв примере я это реализовал просто добавив отдельный шаблон в cells.blade.php но хотелось бы через файл вида,  что-то на подобии:\r\n`\r\n$grid->render(array(\r\n\r\n\r\n                    'NULL' => [\r\n                        'title' => '',\r\n                        'type' => 'NULL',\r\n                        'class' => 'col-lg-1'\r\n                       'cell' =>   \"<a href=\"{{URL::current()}}/edit/@{{ item.id }}\" role=\"button\" class=\"btn-primary btn-xs\"><i class=\"fa fa-edit\"></i></a>\", \r\n                    ],\r\n`\r\nИдея думаю понятна, если сложно то некретично... \r\nЗаранее благодарю за ответ. \r\n"}}