Saulis / iron-data-table

iron-data-table is a Web Component for displaying data as a table or grid. Built on top of iron-list using Polymer.
Apache License 2.0
147 stars 66 forks source link

[[item]] not working dom-if #205

Open dev-ads opened 6 years ago

dev-ads commented 6 years ago

I am trying to execute a function using a dom-if that executes a function. I am able to get the function to execute without parsing a property in but when I parse item in the function will not execute. `

`

So I am trying to run the function _isSelected(item) however this will not run my function. _isSelected: function(item) { console.log("isSelected fired " + this.item.PackageName); }

This function does work when I use another property so seems like an issue with item. Any ideas why? TIA