0
我有下列數組數據,我想用Angularjs ng-repeat將這些數據放在表中,如下圖所示,任何人都可以幫忙嗎?使用Angularjs ng-repeat將數組數據放入某個結構中
var data=[
{status:"open",year:2014,value:100.00},
{status:"open",year:2015,value:200.00},
{status:"open",year:2016,value:300.00},
{status:"approved",year:2016,value:10.00},
{status:"approved",year:2015,value:20.00},
{status:"approved",year:2016,value:30.00},
{status:"closed",year:2016,value:1.00},
{status:"closed",year:2014,value:3.00},
{status:"closed",year:2013,value:-10.00}
]
的[從JSON數據與angularjs和NG-重複創建表]可能的複製(http://stackoverflow.com/questions/22209117/create-表從-JSON數據與 - angularjs和 - NG-重複) – Mahi