我想显示一个网格,但在List of customers
和Customer Id, active, firstname last name, email address
之间添加一个面板。在标签面板中添加一个面板
我需要在这两个组件之间添加一个面板。并且在该面板中,我将拥有不同的UI元素。我怎样才能做到这一点 ?
我想显示一个网格,但在List of customers
和Customer Id, active, firstname last name, email address
之间添加一个面板。在标签面板中添加一个面板
我需要在这两个组件之间添加一个面板。并且在该面板中,我将拥有不同的UI元素。我怎样才能做到这一点 ?
好吧,我相信你只是一个的costumers的标题列表格,最简单的方法是有一个面板和一个网格(网格,没有标题)与标题另一个面板。
{
xtype: 'panel',
title: 'List of customers',
layout:'border',
items: [
{
//the panel you want
xtype: 'panel',
region: 'north',
height: 100,
},
{
//your current grid without a title
xtype: 'gridpanel',
region: 'center',
height: 300,
}
]
}
我需要添加面板,标题为“List if Customers”和垂直布局。在它中你需要添加两个项目:你的新面板和那个网格(没有标题)。你会得到你想要的。
{
xtype: 'panel',
layout: {
type:"vbox",
pack:"start",
align:"stretch"}
title:"List of Customers",
items: [ ... your new panel and grid .. ]
}
需要更多的ExtJS的标签.. – Ben
没有帮你吗? –
为什么这么多extjs标签? extjs3与你的问题甚至没有关系。 – Ben