{"action":"opened","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/2269","repository_url":"https://api.github.com/repos/primefaces/primefaces","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/2269/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/2269/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/2269/events","html_url":"https://github.com/primefaces/primefaces/issues/2269","id":221283437,"number":2269,"title":"Subtable should not be deprecated","user":{"login":"djmj","id":5265550,"avatar_url":"https://avatars1.githubusercontent.com/u/5265550?v=3","gravatar_id":"","url":"https://api.github.com/users/djmj","html_url":"https://github.com/djmj","followers_url":"https://api.github.com/users/djmj/followers","following_url":"https://api.github.com/users/djmj/following{/other_user}","gists_url":"https://api.github.com/users/djmj/gists{/gist_id}","starred_url":"https://api.github.com/users/djmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmj/subscriptions","organizations_url":"https://api.github.com/users/djmj/orgs","repos_url":"https://api.github.com/users/djmj/repos","events_url":"https://api.github.com/users/djmj/events{/privacy}","received_events_url":"https://api.github.com/users/djmj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-12T14:34:48Z","updated_at":"2017-04-12T14:34:48Z","closed_at":null,"body":"Subtable should not be deprecated since row grouping does not provides same functionality as subTable does.\r\n\r\nWe have already grouped data in bean like following simple example. I don't know how to realize it without subtable? So subtable should not be deprecated.\r\n\r\n[code]\r\n\r\nMap<String, List<String>> data;\r\n\r\n<p:dataTable var=\"varType\" value=\"#{bean.data.keySet()}\">\r\n  \t<p:subTable var=\"varValue\" value=\"#{bean.data[varType]}\">\r\n\t\t<f:facet name=\"header\">\r\n\t\t\t<h:outputText value=\"#{varType}\"/>\r\n\t\t</f:facet>\r\n\t\t<p:column>\r\n\t\t\t<h:outputText value=\"#{varValue}\"/>\r\n\t\t</p:column>\r\n\t </p:subTable>\r\n</p:dataTable>\r\n\r\n[/code]\r\n\r\n@Fanste also commented about it in this issue: \r\n\r\nhttps://github.com/primefaces/primefaces/issues/1950"}}
{"actor":{"display_login":"djmj"}}