如何在p-column PrimeNG表中显示组?

时间:2018-05-05 09:29:58

标签: angular5 primeng primeng-datatable primeng-turbotable

list:{"oringinData":"sa","oringinDataTime":"23/10/18","types": 
 [{"sId":1,"sdate":"28/3","stuff":[{"TypeId":1,"onetype":[{"id":1,"name":"John 
Doe"},{"id":2,"name":"Don Joeh"}]},{"TypeId":2,"othertype": 
[{"id":2,"company":"A"}]}]},{"sId":2,"sdate":"20/3","stuff": 
[{"TypeId":1,"onetype":[{"id":1,"name":"John F"},{"id":2,"name":"Don E"}]}, 
{"TypeId":2,"othertype":[{"id":2,"company":"D"}]},{"TypeId":3,"othertype": 
[{"id":2,"company":"A"},{"id":2,"company":"B"},{"id":2,"company":"C"}]}]}]}

上面是对象的JSON arrary我希望在每个类型想要一个空行之后,在PrimeNG中对行中的行数据进行分组。

0 个答案:

没有答案