{"action":"created","issue":{"url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/152","labels_url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/152/comments","events_url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/152/events","html_url":"https://github.com/tudor-malene/Easygrid/issues/152","id":89198919,"number":152,"title":"Empty subGrid & empty detail in Master-detail grid","user":{"login":"ariestsang","id":12946607,"avatar_url":"https://avatars.githubusercontent.com/u/12946607?v=3","gravatar_id":"","url":"https://api.github.com/users/ariestsang","html_url":"https://github.com/ariestsang","followers_url":"https://api.github.com/users/ariestsang/followers","following_url":"https://api.github.com/users/ariestsang/following{/other_user}","gists_url":"https://api.github.com/users/ariestsang/gists{/gist_id}","starred_url":"https://api.github.com/users/ariestsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariestsang/subscriptions","organizations_url":"https://api.github.com/users/ariestsang/orgs","repos_url":"https://api.github.com/users/ariestsang/repos","events_url":"https://api.github.com/users/ariestsang/events{/privacy}","received_events_url":"https://api.github.com/users/ariestsang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T04:52:36Z","updated_at":"2015-06-18T06:39:19Z","closed_at":"2015-06-18T06:39:19Z","body":"Hi Tudor,\r\n\r\nI'm working with Grails 2.5.0 and Easygrid plugin 1.7.1. I tried many different ways but still failed to create subGrid or Master-Detail grid, the subGird or Detail grid was always empty. Could you please help to see if my coding is incorrect or that's something wrong with the tools?\r\n\r\nHere are the models:\r\n\r\nclass Alarmfilter {\r\n\tInteger pId\r\n\tString message\r\n\tstatic hasMany = [alarmfilterschedules: AlarmfilterSchedule]\r\n}\r\nclass AlarmfilterSchedule {\r\n\tDate dateFrom\r\n\tDate dateTo\r\n\tAlarmfilter alarmfilter\r\n}\r\n\r\n\r\nHere is the controller:\r\n\r\n\tdef alarmfiltersGrid = {\r\n\t\tdomainClass Alarmfilter\r\n\t\tgridImpl 'jqgrid'\r\n\t\tsubGrid 'alarmfilterschedules'\r\n\t}\t\r\n\t\t\r\n\tdef alarmfilterschedulesGrid = {\r\n\t\tdomainClass AlarmfilterSchedule\r\n\t\tgridImpl 'jqgrid'\r\n\t\texternalParams ( ['id'] )\r\n                globalFilterClosure { params ->\r\n\t\t\tschedules {\r\n\t\t\t\teq('id', params.id ? params.id as long : -11)\r\n\t\t\t}\r\n                }\r\n\t}\r\n\r\nHere is the view:\r\n\r\n\\<grid:grid name='alarmfilters' /\\>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/comments/113053224","html_url":"https://github.com/tudor-malene/Easygrid/issues/152#issuecomment-113053224","issue_url":"https://api.github.com/repos/tudor-malene/Easygrid/issues/152","id":113053224,"user":{"login":"ariestsang","id":12946607,"avatar_url":"https://avatars.githubusercontent.com/u/12946607?v=3","gravatar_id":"","url":"https://api.github.com/users/ariestsang","html_url":"https://github.com/ariestsang","followers_url":"https://api.github.com/users/ariestsang/followers","following_url":"https://api.github.com/users/ariestsang/following{/other_user}","gists_url":"https://api.github.com/users/ariestsang/gists{/gist_id}","starred_url":"https://api.github.com/users/ariestsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariestsang/subscriptions","organizations_url":"https://api.github.com/users/ariestsang/orgs","repos_url":"https://api.github.com/users/ariestsang/repos","events_url":"https://api.github.com/users/ariestsang/events{/privacy}","received_events_url":"https://api.github.com/users/ariestsang/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T06:39:19Z","updated_at":"2015-06-18T06:39:19Z","body":"It works now..."}}