首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Ajax >

Ext4.0的 table格局边框

2013-06-25 
Ext4.0的 table布局边框 {xtype: radiogroup,width: 300,labelAlign: right,name:queren,fieldLabel

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,如果想全部添加边框,用楼上的方法。

热点排行