{"comment":{"url":"https://api.github.com/repos/bebraw/reactabular/comments/11556460","html_url":"https://github.com/bebraw/reactabular/commit/2837cc9c6de070fb3f19831a81ab092dc6f6ae1a#commitcomment-11556460","id":11556460,"user":{"login":"utdemir","id":928084,"avatar_url":"https://avatars.githubusercontent.com/u/928084?v=3","gravatar_id":"","url":"https://api.github.com/users/utdemir","html_url":"https://github.com/utdemir","followers_url":"https://api.github.com/users/utdemir/followers","following_url":"https://api.github.com/users/utdemir/following{/other_user}","gists_url":"https://api.github.com/users/utdemir/gists{/gist_id}","starred_url":"https://api.github.com/users/utdemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utdemir/subscriptions","organizations_url":"https://api.github.com/users/utdemir/orgs","repos_url":"https://api.github.com/users/utdemir/repos","events_url":"https://api.github.com/users/utdemir/events{/privacy}","received_events_url":"https://api.github.com/users/utdemir/received_events","type":"User","site_admin":false},"position":1,"line":1,"path":".gitignore","commit_id":"2837cc9c6de070fb3f19831a81ab092dc6f6ae1a","created_at":"2015-06-07T09:48:45Z","updated_at":"2015-06-07T09:48:45Z","body":"Well, reactabular looks pretty configurable, thanks for writing like that :). My only small nitpick was when I tried to put an onclick() action to a row, instead of a column; I couldn't figure out a way, and had to put onClick actions to every column.\r\n\r\n```\r\n  [{\r\n        property: 'displayName',\r\n        header: 'Name',\r\n        cell: (value, data, rowIndex) =>\r\n          <span\r\n            onClick={() => this.navigate(data[rowIndex].id)}\r\n            className={this.state.threatId == data[rowIndex].id ? \"active\" : \"\" }\r\n            >\r\n            {value}\r\n          </span>\r\n      }, {\r\n        property: 'category',\r\n        header: 'Category',\r\n        cell: (value, data, rowIndex) =>\r\n          <span\r\n            onClick={() => this.navigate(data[rowIndex].id)}\r\n            className={this.state.id == data[rowIndex].id ? \"active\" : \"\" }\r\n            >\r\n            {data[rowIndex].category[0]}\r\n          </span>\r\n      }];\r\n```"}}