【发布时间】:2020-02-29 08:00:42
【问题描述】:
我有这个 json 变量,想通过制表符来绘制表格:
mydata=
[
{
"trade_symbol": "Media",
"technical_sum_List": [
19,
5,
4
],
"volume_sum_List": [
6,
1
],
"pivot_sum_list": [
5,
0,
0
]
},
{
"trade_symbol": "Sport",
"technical_sum_List": [
18,
4,
4
],
"volume_sum_List": [
3,
4
],
"pivot_sum_list": [
5,
0,
0
]
},
{
"trade_symbol": "Dance",
"technical_sum_List": [
13,
10,
5
],
"volume_sum_List": [
1,
6
],
"pivot_sum_list": [
2,
2,
0
]
}
]
现在我想通过制表符在每一列中插入技术和列表 [1] 或技术和列表 [2]。 在制表器中,我们只能使用字段:“technical_sum_List”,不接受 Technical_sum_List[1]!
【问题讨论】:
标签: javascript json tabulator