{"action":"created","issue":{"url":"https://api.github.com/repos/cerner/terra-core/issues/835","repository_url":"https://api.github.com/repos/cerner/terra-core","labels_url":"https://api.github.com/repos/cerner/terra-core/issues/835/labels{/name}","comments_url":"https://api.github.com/repos/cerner/terra-core/issues/835/comments","events_url":"https://api.github.com/repos/cerner/terra-core/issues/835/events","html_url":"https://github.com/cerner/terra-core/issues/835","id":259194708,"number":835,"title":"Create Multiple Selectable Table Component","user":{"login":"dv297","id":5365325,"avatar_url":"https://avatars2.githubusercontent.com/u/5365325?v=4","gravatar_id":"","url":"https://api.github.com/users/dv297","html_url":"https://github.com/dv297","followers_url":"https://api.github.com/users/dv297/followers","following_url":"https://api.github.com/users/dv297/following{/other_user}","gists_url":"https://api.github.com/users/dv297/gists{/gist_id}","starred_url":"https://api.github.com/users/dv297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv297/subscriptions","organizations_url":"https://api.github.com/users/dv297/orgs","repos_url":"https://api.github.com/users/dv297/repos","events_url":"https://api.github.com/users/dv297/events{/privacy}","received_events_url":"https://api.github.com/users/dv297/received_events","type":"User","site_admin":false},"labels":[{"id":547258202,"url":"https://api.github.com/repos/cerner/terra-core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":593464077,"url":"https://api.github.com/repos/cerner/terra-core/labels/table","name":"table","color":"009688","default":false},{"id":666767263,"url":"https://api.github.com/repos/cerner/terra-core/labels/tech%20design","name":"tech design","color":"f4b342","default":false}],"state":"open","locked":false,"assignee":{"login":"dv297","id":5365325,"avatar_url":"https://avatars2.githubusercontent.com/u/5365325?v=4","gravatar_id":"","url":"https://api.github.com/users/dv297","html_url":"https://github.com/dv297","followers_url":"https://api.github.com/users/dv297/followers","following_url":"https://api.github.com/users/dv297/following{/other_user}","gists_url":"https://api.github.com/users/dv297/gists{/gist_id}","starred_url":"https://api.github.com/users/dv297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv297/subscriptions","organizations_url":"https://api.github.com/users/dv297/orgs","repos_url":"https://api.github.com/users/dv297/repos","events_url":"https://api.github.com/users/dv297/events{/privacy}","received_events_url":"https://api.github.com/users/dv297/received_events","type":"User","site_admin":false},"assignees":[{"login":"dv297","id":5365325,"avatar_url":"https://avatars2.githubusercontent.com/u/5365325?v=4","gravatar_id":"","url":"https://api.github.com/users/dv297","html_url":"https://github.com/dv297","followers_url":"https://api.github.com/users/dv297/followers","following_url":"https://api.github.com/users/dv297/following{/other_user}","gists_url":"https://api.github.com/users/dv297/gists{/gist_id}","starred_url":"https://api.github.com/users/dv297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv297/subscriptions","organizations_url":"https://api.github.com/users/dv297/orgs","repos_url":"https://api.github.com/users/dv297/repos","events_url":"https://api.github.com/users/dv297/events{/privacy}","received_events_url":"https://api.github.com/users/dv297/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-09-20T14:56:48Z","updated_at":"2017-09-20T16:27:57Z","closed_at":null,"author_association":"NONE","body":"# Issue Description\r\nWe want a table where multiple rows of a terra-table can be selected. Currently, there is only a SingleSelectableRows component. A parallel MultipleSelectableRows component should be made.\r\n\r\n## Issue Type\r\n<!-- Is this a new feature request, enhancement, bug report, other? -->\r\n- [X] New Feature\r\n- [X] Enhancement\r\n- [ ] Bug\r\n- [ ] Other\r\n\r\n## Expected Behavior\r\n<!-- Tell us how it should work -->\r\n* Initial Render\r\n  * The table is rendered with any preselected row selected\r\n    * Honors the `isSelected` prop\r\n* Clicking on an unselected row will select the row unless `isSelectable` is `false`. \\* \r\n* Clicking on a selected row will deselect the row unless `isSelectable` is `false`. \\* \r\n* Multiple rows can be selected\r\n* A callback function can be provided to the component that is called after any row is selected or deselected.\r\n\r\n\\* - isSelectable could be renamed/ a new prop with different name could be used to something else to better convey this functionality, especially with deselect.\r\n\r\n## Current Behavior\r\n<!-- Tell us what happens instead of the expected behavior -->\r\nN/A"},"comment":{"url":"https://api.github.com/repos/cerner/terra-core/issues/comments/330907120","html_url":"https://github.com/cerner/terra-core/issues/835#issuecomment-330907120","issue_url":"https://api.github.com/repos/cerner/terra-core/issues/835","id":330907120,"user":{"login":"emilyrohrbough","id":14099737,"avatar_url":"https://avatars1.githubusercontent.com/u/14099737?v=4","gravatar_id":"","url":"https://api.github.com/users/emilyrohrbough","html_url":"https://github.com/emilyrohrbough","followers_url":"https://api.github.com/users/emilyrohrbough/followers","following_url":"https://api.github.com/users/emilyrohrbough/following{/other_user}","gists_url":"https://api.github.com/users/emilyrohrbough/gists{/gist_id}","starred_url":"https://api.github.com/users/emilyrohrbough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilyrohrbough/subscriptions","organizations_url":"https://api.github.com/users/emilyrohrbough/orgs","repos_url":"https://api.github.com/users/emilyrohrbough/repos","events_url":"https://api.github.com/users/emilyrohrbough/events{/privacy}","received_events_url":"https://api.github.com/users/emilyrohrbough/received_events","type":"User","site_admin":false},"created_at":"2017-09-20T16:27:57Z","updated_at":"2017-09-20T16:27:57Z","author_association":"CONTRIBUTOR","body":"Add prop `maxSelectionCount` to define the maximum number of rows that can be selected. This would make table API consistent with list API.\r\n\r\nFor the `onChange` callback, the list API only returns the event and the list of selected indexes. Again I think this should be consistent with the list's behavior. I would be curious what others think about return the last selected index. That might be a change we would want to make in multi-select list then."}}
{"actor":{"display_login":"emilyrohrbough"}}