Grid bind external field to expanded in Polymer

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,

Hi cis rudlow,
Here’s one example on how you can achieve this when using the items array:,output

Hi Tomi,
Thank you very much :slight_smile: