在AngularJS中嵌套ng重复

时间:2015-04-14 18:25:45

标签: angularjs-ng-repeat

我正在尝试显示一个表格数据,其中包含在范围变量(非静态)中定义的列标题以及要显示的行列表。

[Plunker网址]

http://plnkr.co/edit/ZR6uIL3pXffLqem3h06r?p=preview

看起来字段值未在表达式{{row.field}}中解析。

由于

1 个答案:

答案 0 :(得分:0)

正确的表达式应为{{row[field]}}

相关问题