angular-2-data-table-demo icon indicating copy to clipboard operation
angular-2-data-table-demo copied to clipboard

How to display nested object property value

Open birjesh3pillar opened this issue 7 years ago • 1 comments

I have data like user:[{id:1,name:'xyx',profile:{pic:'abc','role':2}}]. How i will display profile.pic.

birjesh3pillar avatar Aug 09 '17 12:08 birjesh3pillar

Not sure about Angular 2, but in Angular 4 it can be done with ng-template ` <ng-template #dataTableHeader let-item="item"> Role <ng-template #dataTableCell let-item="item">

`

yogendratamang48 avatar Sep 10 '17 12:09 yogendratamang48