Javascript Ext.js中的复杂网格

Javascript Ext.js中的复杂网格,javascript,model-view-controller,extjs,Javascript,Model View Controller,Extjs,我尝试在MVC架构的Ext.js中创建一个复杂的网格。 假设我有两个类似的JSON: 第一: 第二 [{ "id": 4, "name": "An ice sculpture", "price": 14.50, "tags": ["cold", "ice"], "dimensions": { "length": 12.0, "width": 33.0, "height": 9.5 }, "warehouseLocation": { "latitude": 54.7

我尝试在MVC架构的Ext.js中创建一个复杂的网格。 假设我有两个类似的JSON: 第一:

第二

[{
"id": 4,
"name": "An ice sculpture",
"price": 14.50,
"tags": ["cold", "ice"],
"dimensions": {
    "length": 12.0,
    "width": 33.0,
    "height": 9.5
},
"warehouseLocation": {
    "latitude": 54.75,
    "longitude": 21.4
}}]
现在我想创建一个这样的网格:

一列,第一行显示对象“id”:2的“长度”,第二行显示对象“id”:3的“长度”,第三行显示对象“id”:4的“长度”


我希望有一些建议

对象没有
length
属性。你说的“两个JSON”是什么意思?你是在提出不同的要求吗?为什么不合并?是的!这是两个独立的请求对象,没有
length
属性。你说的“两个JSON”是什么意思?你是在提出不同的要求吗?为什么不合并?是的!这是两个独立的请求
[{
"id": 4,
"name": "An ice sculpture",
"price": 14.50,
"tags": ["cold", "ice"],
"dimensions": {
    "length": 12.0,
    "width": 33.0,
    "height": 9.5
},
"warehouseLocation": {
    "latitude": 54.75,
    "longitude": 21.4
}}]