Skip to content
This repository has been archived by the owner on Dec 25, 2021. It is now read-only.

How to use the table to display complex JSON objects? #46

Open
BhanukaRC opened this issue Aug 10, 2018 · 1 comment
Open

How to use the table to display complex JSON objects? #46

BhanukaRC opened this issue Aug 10, 2018 · 1 comment

Comments

@BhanukaRC
Copy link

BhanukaRC commented Aug 10, 2018

{ keyValues: {name: "Tom" , age: "22" }, height: "1.5" }
If the JSON looks like this and what if I want to display 'name' property as a column?
Entering it like this doesn't work
<data-table-column
[property]="'keyValues.name'"
[header]="'Name'"
[sortable]="false">

property field only expects a string!

@brunano21
Copy link
Owner

Unfortunately, it's not currently supported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants