{"action":"created","issue":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/379","repository_url":"https://api.github.com/repos/adazzle/react-data-grid","labels_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/379/comments","events_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/379/events","html_url":"https://github.com/adazzle/react-data-grid/pull/379","id":166057365,"number":379,"title":"on select row, add handler to capture row index","user":{"login":"txm","id":24738,"avatar_url":"https://avatars.githubusercontent.com/u/24738?v=3","gravatar_id":"","url":"https://api.github.com/users/txm","html_url":"https://github.com/txm","followers_url":"https://api.github.com/users/txm/followers","following_url":"https://api.github.com/users/txm/following{/other_user}","gists_url":"https://api.github.com/users/txm/gists{/gist_id}","starred_url":"https://api.github.com/users/txm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txm/subscriptions","organizations_url":"https://api.github.com/users/txm/orgs","repos_url":"https://api.github.com/users/txm/repos","events_url":"https://api.github.com/users/txm/events{/privacy}","received_events_url":"https://api.github.com/users/txm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-18T09:49:21Z","updated_at":"2016-07-18T10:18:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adazzle/react-data-grid/pulls/379","html_url":"https://github.com/adazzle/react-data-grid/pull/379","diff_url":"https://github.com/adazzle/react-data-grid/pull/379.diff","patch_url":"https://github.com/adazzle/react-data-grid/pull/379.patch"},"body":"## Description\r\nOn Select a Row, the entire Row is returned.  Sometimes you just want the index of the selected Row.\r\n\r\n**Please check if the PR fulfills these requirements**\r\n- [X] The commit message follows our guidelines: https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md\r\n- [ ] Tests for the changes have been added (for bug fixes / features)\r\n- [ ] Docs have been added / updated (for bug fixes / features)\r\n\r\n\r\n**What kind of change does this PR introduce?** (check one with \"x\")\r\n```\r\n[ ] Bugfix\r\n[X] Feature\r\n[ ] Code style update (formatting, local variables)\r\n[ ] Refactoring (no functional changes, no api changes)\r\n[ ] Build related changes\r\n[ ] CI related changes\r\n[ ] Other... Please describe:\r\n```\r\n\r\n**What is the current behavior?** (You can also link to an open issue here)\r\nYou can capture a selected Row, but not the Index of the selected Row.\r\n\r\n\r\n**What is the new behavior?**\r\nYou can capture the index of a selected Row with:\r\n\r\nonRowSelectIdx={this.handleRowSelectIdx}\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n```\r\n[ ] Yes\r\n[X] No\r\n```\r\n\r\nIf this PR contains a breaking change, please describe the impact and migration path for existing applications: ...\r\n\r\n\r\n**Other information**:\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/comments/233292938","html_url":"https://github.com/adazzle/react-data-grid/pull/379#issuecomment-233292938","issue_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/379","id":233292938,"user":{"login":"txm","id":24738,"avatar_url":"https://avatars.githubusercontent.com/u/24738?v=3","gravatar_id":"","url":"https://api.github.com/users/txm","html_url":"https://github.com/txm","followers_url":"https://api.github.com/users/txm/followers","following_url":"https://api.github.com/users/txm/following{/other_user}","gists_url":"https://api.github.com/users/txm/gists{/gist_id}","starred_url":"https://api.github.com/users/txm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txm/subscriptions","organizations_url":"https://api.github.com/users/txm/orgs","repos_url":"https://api.github.com/users/txm/repos","events_url":"https://api.github.com/users/txm/events{/privacy}","received_events_url":"https://api.github.com/users/txm/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T10:18:35Z","updated_at":"2016-07-18T10:18:35Z","body":"Could someone help with this failed check?  I can't see what's wrong."}}
{"actor":{"display_login":"txm"}}