{"action":"closed","issue":{"url":"https://api.github.com/repos/ceolter/ag-grid-ng2/issues/106","repository_url":"https://api.github.com/repos/ceolter/ag-grid-ng2","labels_url":"https://api.github.com/repos/ceolter/ag-grid-ng2/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/ceolter/ag-grid-ng2/issues/106/comments","events_url":"https://api.github.com/repos/ceolter/ag-grid-ng2/issues/106/events","html_url":"https://github.com/ceolter/ag-grid-ng2/issues/106","id":197597670,"number":106,"title":"cellRenderer is not binding click event","user":{"login":"elaijuh","id":2057060,"avatar_url":"https://avatars.githubusercontent.com/u/2057060?v=3","gravatar_id":"","url":"https://api.github.com/users/elaijuh","html_url":"https://github.com/elaijuh","followers_url":"https://api.github.com/users/elaijuh/followers","following_url":"https://api.github.com/users/elaijuh/following{/other_user}","gists_url":"https://api.github.com/users/elaijuh/gists{/gist_id}","starred_url":"https://api.github.com/users/elaijuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elaijuh/subscriptions","organizations_url":"https://api.github.com/users/elaijuh/orgs","repos_url":"https://api.github.com/users/elaijuh/repos","events_url":"https://api.github.com/users/elaijuh/events{/privacy}","received_events_url":"https://api.github.com/users/elaijuh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T15:22:15Z","updated_at":"2016-12-26T19:24:21Z","closed_at":"2016-12-26T19:24:21Z","body":"I want to render a button into the cell with `cellRenderer` like this\r\n\r\n```\r\n{\r\n        headerName: 'Actions',\r\n        minWidth: 200,\r\n        cellRenderer(params) {\r\n            return `\r\n              <button (click)=\"editAWSAccess()\">\r\n                <span class=\"fa fa-edit\">Edit</span>\r\n              </button>\r\n            `\r\n        }\r\n}\r\n```\r\n\r\nI have `editAWSAccess` class method for my component, but I found the click event is not triggered. Do I need to manually register a listener to the click event in cellRenderer?\r\n\r\n\r\nI saw a work around to use `onRowClicked` which is not quite beautiful"}}
{"actor":{"display_login":"seanlandsman"}}