简体   繁体   English

使用EXT JS的垂直网格

[英]Vertical grid with EXT JS

I want to use the EXT JS's Grid panel to show some data, but I want something like this : 我想使用EXT JS的Grid面板显示一些数据,但是我想要这样的东西:

First name Foo Foo

Last name Bar 姓氏

Age 18 年龄 18

Country US 国家美国

rather than : 而不是 :

First name Last name Age Country 年龄 国家

Foo Bar 18 US Foo Bar 18美国

Assuming that there will be only one record. 假设只有一条记录。

What I have in mind is loop through the records and create a new table having each row containing a specific information. 我要记住的是遍历记录并创建一个新表,其中的每一行都包含特定信息。 Something like : 就像是 :

[
  ['First name', 'Foo']
  ['Last name', 'Bar']
   ...
]

but I want to know if there is a better solution/approach. 但我想知道是否有更好的解决方案/方法。

Thanks 谢谢

我认为您正在寻找物业网格

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM