{"action":"created","issue":{"url":"https://api.github.com/repos/ag-grid/ag-grid/issues/1860","repository_url":"https://api.github.com/repos/ag-grid/ag-grid","labels_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/1860/labels{/name}","comments_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/1860/comments","events_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/1860/events","html_url":"https://github.com/ag-grid/ag-grid/issues/1860","id":253999546,"number":1860,"title":"Custom rendered - eGridCell is undefined in v13","user":{"login":"jurafa","id":8994345,"avatar_url":"https://avatars2.githubusercontent.com/u/8994345?v=4","gravatar_id":"","url":"https://api.github.com/users/jurafa","html_url":"https://github.com/jurafa","followers_url":"https://api.github.com/users/jurafa/followers","following_url":"https://api.github.com/users/jurafa/following{/other_user}","gists_url":"https://api.github.com/users/jurafa/gists{/gist_id}","starred_url":"https://api.github.com/users/jurafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurafa/subscriptions","organizations_url":"https://api.github.com/users/jurafa/orgs","repos_url":"https://api.github.com/users/jurafa/repos","events_url":"https://api.github.com/users/jurafa/events{/privacy}","received_events_url":"https://api.github.com/users/jurafa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T13:29:44Z","updated_at":"2017-08-31T10:59:22Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**\r\n```\r\n[x ] bug report\r\n```\r\n\r\n**Current behavior**\r\nI upgraded from ag-grid v12.0.2 to ag-grid v13.0.1. I have a custom cell renderer. In this renderer I used to use the *cellRenderer Params*.eGridCell to listen to *onkeypress* event like this:\r\n\r\n```\r\nexport class CellRenderer {\r\n\r\n  constructor() { }\r\n\r\n  agInit(params: any): void {\r\n      this.params.eGridCell.onkeypress = (event: KeyboardEvent) => {\r\n...\r\n      });\r\n    }\r\n}\r\n```\r\nIt was working fine in version v12 but in version v13 the eGridCell property is undefined.\r\n\r\n\r\n**Expected behavior**\r\neGridCell should contain a reference to the DOM element representing the grid cell that your component will live inside. Useful if you want to add event listeners or classes at this level. This is the DOM element that gets browser focus when selecting cells. (taken from https://www.ag-grid.com/javascript-grid-cell-rendering-components/)\r\n\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nhttps://plnkr.co/edit/9wdUqW\r\nIn this plunker is a fork of a plunker with a demo of dynamically rendered cells. ChildMessageComponent in agInit function logs to console the value of params.eGridCell. It is always undefined.\r\n\r\n**Please tell us about your environment:**\r\nWindows 10, angular 4, Google Chrome\r\n\r\n* **ag-Grid version:** X.X.X\r\nag-grid 13.0.1\r\nag-grid-angular: 13.0.0\r\n\r\n\r\n* **Browser:**\r\n\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36\"\r\n\r\n* **Language:** [all | TypeScript X.X | ES6/7 | ES5]\r\nTypeScript\r\n"},"comment":{"url":"https://api.github.com/repos/ag-grid/ag-grid/issues/comments/326262177","html_url":"https://github.com/ag-grid/ag-grid/issues/1860#issuecomment-326262177","issue_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/1860","id":326262177,"user":{"login":"seanlandsman","id":1329081,"avatar_url":"https://avatars0.githubusercontent.com/u/1329081?v=4","gravatar_id":"","url":"https://api.github.com/users/seanlandsman","html_url":"https://github.com/seanlandsman","followers_url":"https://api.github.com/users/seanlandsman/followers","following_url":"https://api.github.com/users/seanlandsman/following{/other_user}","gists_url":"https://api.github.com/users/seanlandsman/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlandsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlandsman/subscriptions","organizations_url":"https://api.github.com/users/seanlandsman/orgs","repos_url":"https://api.github.com/users/seanlandsman/repos","events_url":"https://api.github.com/users/seanlandsman/events{/privacy}","received_events_url":"https://api.github.com/users/seanlandsman/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T10:59:22Z","updated_at":"2017-08-31T10:59:22Z","author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nThanks for raising this. I've raised AG-728 our side to track this - you can view its progress on our pipeline page here: https://www.ag-grid.com/ag-grid-pipeline/\r\n\r\nWe'll update this thread with updates as soon as we have any.\r\n\r\nthanks"}}
{"actor":{"display_login":"seanlandsman"}}