Grid bind external field to expanded in Polymer

Hi,
How can I bind external value (from items) to expanded property? What do I want to achieve? I assign array of objects to “items”, ie:

[{name: "one", hasDetails: true, details: {...}, {name: "two", hasDetails: false}]

When hasDetails property is set to true, the row details should be expanded.
Is it possible to do at all?

Thx and best regards,
Lukas

Hi cis rudlow,
Here’s one example on how you can achieve this when using the items array: https://jsbin.com/sixijusohi/1/edit?html,output

Hi Tomi,
Thank you very much :slight_smile: