{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/224","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/224/comments","events_url":"https://api.github.com/repos/angular/material2/issues/224/events","html_url":"https://github.com/angular/material2/issues/224","id":142956042,"number":224,"title":"md-data-table","user":{"login":"Gregcop1","id":1257968,"avatar_url":"https://avatars.githubusercontent.com/u/1257968?v=3","gravatar_id":"","url":"https://api.github.com/users/Gregcop1","html_url":"https://github.com/Gregcop1","followers_url":"https://api.github.com/users/Gregcop1/followers","following_url":"https://api.github.com/users/Gregcop1/following{/other_user}","gists_url":"https://api.github.com/users/Gregcop1/gists{/gist_id}","starred_url":"https://api.github.com/users/Gregcop1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gregcop1/subscriptions","organizations_url":"https://api.github.com/users/Gregcop1/orgs","repos_url":"https://api.github.com/users/Gregcop1/repos","events_url":"https://api.github.com/users/Gregcop1/events{/privacy}","received_events_url":"https://api.github.com/users/Gregcop1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-03-23T13:15:01Z","updated_at":"2016-05-30T07:07:57Z","closed_at":"2016-03-23T16:29:20Z","body":"Hi.\r\n\r\nWhat do you think about adding a component for Data Table? It could be pretty useful on admin app.\r\n\r\nFeatures: \r\n- apply material design recommandations about header,  row and cells\r\n- activation of checkbox on each row and a master checkbox to rule them all. The idea is to allow multiple selection and fired action on change\r\n- tooltip on header label\r\n- auto truncate of header label\r\n\r\nThe idea is to be as transparent as possible. Integrator don't have to learn a new way to build data table, so it could be something like this :\r\n```\r\n<md-data-table [selectable]=\"true\" (onSelectableAll)=\"logEvent($event)\" (onSelectableChange)=\"logEvent($event)\">\r\n  <thead>\r\n  <tr>\r\n    <th class=\"md-data-table-cell-non-numeric\">Material</th>\r\n    <th>Quantity</th>\r\n    <th truncateAt=\"20\">Unit price</th>\r\n  </tr>\r\n  </thead>\r\n  <tbody>\r\n  <tr *ngFor=\"#material of materials\" [selectableValue]=\"material.id\">\r\n    <td class=\"md-data-table-cell-non-numeric\">{{ material.name }}</td>\r\n    <td>{{ material.quantity }}</td>\r\n    <td>{{ material.price }}</td>\r\n  </tr>\r\n  </tbody>\r\n</md-data-table>\r\n```\r\nI've already worked on the [first steps](https://github.com/justindujardin/ng2-material/pull/117) for this feature in another repo (I have an idea of revamp about using more observable but it's still a WIP)"},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/222426045","html_url":"https://github.com/angular/material2/issues/224#issuecomment-222426045","issue_url":"https://api.github.com/repos/angular/material2/issues/224","id":222426045,"user":{"login":"pantonis","id":3295086,"avatar_url":"https://avatars.githubusercontent.com/u/3295086?v=3","gravatar_id":"","url":"https://api.github.com/users/pantonis","html_url":"https://github.com/pantonis","followers_url":"https://api.github.com/users/pantonis/followers","following_url":"https://api.github.com/users/pantonis/following{/other_user}","gists_url":"https://api.github.com/users/pantonis/gists{/gist_id}","starred_url":"https://api.github.com/users/pantonis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantonis/subscriptions","organizations_url":"https://api.github.com/users/pantonis/orgs","repos_url":"https://api.github.com/users/pantonis/repos","events_url":"https://api.github.com/users/pantonis/events{/privacy}","received_events_url":"https://api.github.com/users/pantonis/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T07:07:57Z","updated_at":"2016-05-30T07:07:57Z","body":"@Gregcop1 thanks\r\n\r\n@zigzag95 not strange at all if you want to use latest technologies and not stay with legacy ones ;). Project is a greenfield one and expected to be released in 3-4 months. I am trying to use ng2 which is way better than NG1. After all everything starts from alpha."}}
{"actor":{"display_login":"pantonis"}}