[
{
"id": "1231",
"hero": "xys",
"lastAddedDate": "2019-01-16",
"movieDetails": [
{
"id": 1,
"movie": "xasdas",
"director": "jdnka",
"release date": "2019-01-19 18:33:51.894"
},
{
"id": 2,
"movie": "zgh",
"director": "Approved",
"release date": "2019-01-19 18:33:51.894"
}
]
},
{
"id": "123",
"hero": "xysz",
"lastAddedDate": "2019-01-16",
"movieDetails": [
{
"id": 1,
"movie": "asdxasdasasd",
"director": "asdfsjdnka",
"release date": "2019-01-19 18:33:51.894"
},
{
"id": 2,
"movie": "zygtas",
"director": "owq",
"release date": "2019-01-19 18:33:51.894"
}
]
}
]
在此JSON中,我想使用ngxDatatable
以表的形式散布所有数据。在这里,我面对着movieDetails
数组。当我尝试填充表中的movieDetails
时,它的值未定义。
这是我的表格的格式
Id
| Hero
| LastAddedDate
| Movie1
| Movie1Director
| Movie1ReleaseDate
| Movie2
| Movie2Director
| movie2ReleaseDate
|
-列分隔符