{"action":"created","issue":{"url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3","repository_url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers","labels_url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3/comments","events_url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3/events","html_url":"https://github.com/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3","id":299151702,"number":3,"title":"<jqx-grid> coming up blank on v2.0.1","user":{"login":"DrEsteban","id":1495037,"avatar_url":"https://avatars0.githubusercontent.com/u/1495037?v=4","gravatar_id":"","url":"https://api.github.com/users/DrEsteban","html_url":"https://github.com/DrEsteban","followers_url":"https://api.github.com/users/DrEsteban/followers","following_url":"https://api.github.com/users/DrEsteban/following{/other_user}","gists_url":"https://api.github.com/users/DrEsteban/gists{/gist_id}","starred_url":"https://api.github.com/users/DrEsteban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrEsteban/subscriptions","organizations_url":"https://api.github.com/users/DrEsteban/orgs","repos_url":"https://api.github.com/users/DrEsteban/repos","events_url":"https://api.github.com/users/DrEsteban/events{/privacy}","received_events_url":"https://api.github.com/users/DrEsteban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-21T22:23:15Z","updated_at":"2018-02-22T19:28:07Z","closed_at":null,"author_association":"NONE","body":"I cannot get the tag helper for `jqx-grid` working.  The area where the grid is supposed to display is blank.  However, when I try to define the same grid using actual Javascript, everything works fine so I don't believe it's an issue with loading the jqx dependencies or anything.\r\n\r\nI've tried to create as simple a repro as possible:\r\n\r\n*cshtml:*\r\n```\r\n@{\r\n    var test = new[] { new { queryId = \"asdf\" } };\r\n}\r\n    <jqx-grid width=\"850\" source=\"test\">\r\n        <jqx-grid-columns>\r\n            <jqx-grid-column datafield=\"queryId\" text=\"Test\"></jqx-grid-column>\r\n        </jqx-grid-columns>\r\n    </jqx-grid>\r\n    <div id=\"jqxgrid\">\r\n    </div>\r\n\r\n<script>\r\n    $(document).ready(function () {\r\n            var source =\r\n                {\r\n                    localdata: @Json.Serialize(test),\r\n                    datatype: \"array\"\r\n                };\r\n            var dataAdapter = new $.jqx.dataAdapter(source);\r\n            $(\"#jqxgrid\").jqxGrid(\r\n                {\r\n                    source: dataAdapter,\r\n                    width: \"850px\",\r\n                    columns: [\r\n                        { text: 'Test', datafield: 'queryId' }\r\n                    ]\r\n                });\r\n\r\n        })\r\n</script>\r\n```\r\n\r\nResults in the following:\r\n![image](https://user-images.githubusercontent.com/1495037/36508819-a314a486-1712-11e8-8fc5-222babcde1b9.png)\r\n\r\nNotice that the grid defined via the Tag Helper is blank, but the grid defined using standard <div> and JS works fine.  I see no errors on the console indicating that something went wrong, it's just not displaying."},"comment":{"url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/comments/367792750","html_url":"https://github.com/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3#issuecomment-367792750","issue_url":"https://api.github.com/repos/jqwidgets/AspNetCore-Mvc-Tag-Helpers/issues/3","id":367792750,"user":{"login":"DrEsteban","id":1495037,"avatar_url":"https://avatars0.githubusercontent.com/u/1495037?v=4","gravatar_id":"","url":"https://api.github.com/users/DrEsteban","html_url":"https://github.com/DrEsteban","followers_url":"https://api.github.com/users/DrEsteban/followers","following_url":"https://api.github.com/users/DrEsteban/following{/other_user}","gists_url":"https://api.github.com/users/DrEsteban/gists{/gist_id}","starred_url":"https://api.github.com/users/DrEsteban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrEsteban/subscriptions","organizations_url":"https://api.github.com/users/DrEsteban/orgs","repos_url":"https://api.github.com/users/DrEsteban/repos","events_url":"https://api.github.com/users/DrEsteban/events{/privacy}","received_events_url":"https://api.github.com/users/DrEsteban/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T19:28:07Z","updated_at":"2018-02-22T19:28:07Z","author_association":"NONE","body":"@bmarkov What do you mean?  The Grid cannot be bound to arrays?  Or the Grid cannot be bound to empty array?  (If you mean the latter, notice that in my code the `test` variable is _not_ an empty array.  It has exactly 1 item.)\r\n\r\nI _did_ take a look at your examples, and they are all binding to an injected `IEnumerable` model.  (Should be exactly the same as my `test` variable example above.)  I've tried copying the same approach in your samples, but my result in using the Tag Helper is always a blank grid.  (The top example in my image.)  However, I know it's not anything wrong with the model itself, because your standard JS support (as in my example above), always works just fine.  The blank grid issue only comes up when using the Tag Helper, so it seems to be some issue with the HTML/JS generation inside the Tag Helper?"}}
{"actor":{"display_login":"DrEsteban"}}