Ext4.0的 table布局边框
{
xtype: 'radiogroup',
width: 300,
labelAlign: 'right',
name:'queren',
fieldLabel: '确认情况',
layout: {
type: 'table'
},
items: [
{
xtype: 'radiofield',
width:50,
checked:true,
inputValue:'全部',
name:'okval',
boxLabel: '全部'
},
{
xtype: 'radiofield',
name:'okval',
inputValue:'已确认',
boxLabel: '已确认'
},
{
xtype: 'radiofield',
name:'okval',
inputValue:'未确认',
boxLabel: '未确认'
}
],
listeners: {
change: function(field, newValue, oldValue, options) {
}
}
}
怎么显示边框呢。 table ext txt4.0 border
[解决办法]
layout: {
type: 'table',
border: 1
},
[解决办法]
你想要哪个组件显示边框就在那个组件的属性里添加border:true,如果想全部添加边框,用楼上的方法。