paper-datatable icon indicating copy to clipboard operation
paper-datatable copied to clipboard

Columns support sub-properties?

Open allenmoatallen opened this issue 9 years ago • 2 comments
trafficstars

Can paper-datatable-columns path into child properties?

Example:

{
  name: 'test',
  child: {
    name: 'childName'
  }
}

I can display name easy enough by setting property="name". If I try to do property="child.name" it doesn't work and property="child" displays [Object object].

allenmoatallen avatar Mar 15 '16 22:03 allenmoatallen

See #91

RoXuS avatar Mar 15 '16 22:03 RoXuS

I went ahead and used the suggestion of the

<template>
  {{value.subproperty}}
</template>

allenmoatallen avatar Mar 18 '16 14:03 allenmoatallen