David-Mulder / paper-datatable

A material design implementation of a data table.
GNU General Public License v3.0
237 stars 92 forks source link

Columns support sub-properties? #98

Open allenmoatallen opened 8 years ago

allenmoatallen commented 8 years ago

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].

RoXuS commented 8 years ago

See #91

allenmoatallen commented 8 years ago

I went ahead and used the suggestion of the

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