{"action":"created","issue":{"url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/8","repository_url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web","labels_url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/8/comments","events_url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/8/events","html_url":"https://github.com/NonFactors/MVC6.Grid.Web/issues/8","id":159620424,"number":8,"title":"Html.Build() problem","user":{"login":"titosbi","id":19856349,"avatar_url":"https://avatars.githubusercontent.com/u/19856349?v=3","gravatar_id":"","url":"https://api.github.com/users/titosbi","html_url":"https://github.com/titosbi","followers_url":"https://api.github.com/users/titosbi/followers","following_url":"https://api.github.com/users/titosbi/following{/other_user}","gists_url":"https://api.github.com/users/titosbi/gists{/gist_id}","starred_url":"https://api.github.com/users/titosbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titosbi/subscriptions","organizations_url":"https://api.github.com/users/titosbi/orgs","repos_url":"https://api.github.com/users/titosbi/repos","events_url":"https://api.github.com/users/titosbi/events{/privacy}","received_events_url":"https://api.github.com/users/titosbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-10T12:03:07Z","updated_at":"2016-06-10T13:34:11Z","closed_at":null,"body":"when I write this code in my view:\r\n\r\n```\r\n@model IEnumerable<test.Models.Products>\r\n@using NonFactors.Mvc.Grid;\r\n@(Html\r\n    .Grid(Model)\r\n  )\r\n\r\n```\r\nthen it rendered:\r\n```\r\n<div id=\"Grid\" class=\"mvc-grid\">\r\n    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n                    <tr>\r\n                    </tr>\r\n\t\t    <tr>\r\n                    </tr>\r\n        </tbody>\r\n    </table>\r\n</div>\r\n```\r\nBut when I inserted more some code:\r\n```\r\n@model IEnumerable<test.Models.Products>\r\n@using NonFactors.Mvc.Grid;\r\n@(Html\r\n    .Grid(Model)\r\n   .Build(columns =>\r\n     {\r\n        columns\r\n            .Add(model => model.Name).Titled(\"Name\");        \r\n     })\r\n  )\r\n```\r\nthen my web page is blank, and this is its source \r\n```\r\n<html>\r\n<head>\r\n<style>\r\n</style>\r\n</head>\r\n<body cz-shortcut-listen=\"true\">\r\n</body>\r\n</html>\r\n```\r\nPlease help me! Thanks you very much.\r\n"},"comment":{"url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/comments/225183119","html_url":"https://github.com/NonFactors/MVC6.Grid.Web/issues/8#issuecomment-225183119","issue_url":"https://api.github.com/repos/NonFactors/MVC6.Grid.Web/issues/8","id":225183119,"user":{"login":"titosbi","id":19856349,"avatar_url":"https://avatars.githubusercontent.com/u/19856349?v=3","gravatar_id":"","url":"https://api.github.com/users/titosbi","html_url":"https://github.com/titosbi","followers_url":"https://api.github.com/users/titosbi/followers","following_url":"https://api.github.com/users/titosbi/following{/other_user}","gists_url":"https://api.github.com/users/titosbi/gists{/gist_id}","starred_url":"https://api.github.com/users/titosbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titosbi/subscriptions","organizations_url":"https://api.github.com/users/titosbi/orgs","repos_url":"https://api.github.com/users/titosbi/repos","events_url":"https://api.github.com/users/titosbi/events{/privacy}","received_events_url":"https://api.github.com/users/titosbi/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T13:34:11Z","updated_at":"2016-06-10T13:34:11Z","body":"Oh I missed services.AddMvcGrid(); in startup file. The problem is solved. Thanks you."}}
{"actor":{"display_login":"titosbi"}}