【发布时间】:2015-07-28 08:25:31
【问题描述】:
JSON 响应:
{
"current": 1,
"rowCount": 10,
"rows": [
{
"id": 19,
"sender": "123@test.de",
"received":"[
{
"name":"received1"
}
]
}
]
},
{
"id": 14,
"sender": "123@test.de",
"received": [
{
"name":"received2"
}
]
},
...],
"total": 1123}
我想使用 bootgrid 打印收到的名称。
例子:
<th data-column-id="id" data-identifier="true">Id</th>
<th data-column-id="received.name">Name</th>
我可以打印received.name,但不能打印id。
【问题讨论】:
-
首先,确保你的 json 是正确的。
-
您提供的 JSON 无效。请检查。
-
它的编辑问题:P,现在我已经改变了。我也发布了答案。
标签: jquery-bootgrid