I cannot access this.info from inside the addEventListener anonymous function, and ‘this’ is just the HTMLElement…how do I get the grid data from the element?
The value of this should be the reference to the element with the event listener added, that is the vaadin-grid element in your case. This is why you can not get this.info in your listener.
To make the value of this be the reference to your element, you should bind your event listener method to your element. For example:
You can still access the grid element inside a bound listener using the event.target reference.
Note that Polymer provides syntax sugar to simplify using bound event listeners in custom elements, such as the listeners object map and listen/unlisten methods. See the
Polymer Events Guide .