FormPanel

new Ext.FormPanel({
                        labelAlign:'left',buttonAlign:'right',bodyStyle:'padding:5px;',
                        frame:true,labelWidth:65,monitorValid:true,
                        items:[
                            {layout:'column',border:false,labelSeparator:':',
                            defaults:{layout: 'form',border:false,columnWidth:.5},
                            items:[
                                {items: [{xtype:'textfield',fieldLabel: '學校法人',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'textfield',fieldLabel: '法人代碼',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'textfield',fieldLabel: '學校地址',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'textfield',fieldLabel: '聯繫電話',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'textfield',fieldLabel: '佔地面積',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'textfield',fieldLabel: '建築面積',name: 'xming',anchor:'90%'}]},
                                {items: [{xtype:'combo',fieldLabel: '單位類別',store:ds_sex,triggerAction: 'all',valueField:'id',displayField:'sex',mode: 'local',typeAhead: true,name: 'xbie',anchor:'90%'}]},
                                {items: [{xtype:'combo',fieldLabel: '學校等級',store:ds_sex,triggerAction: 'all',valueField:'id',displayField:'sex',mode: 'local',typeAhead: true,name: 'xbie',anchor:'90%'}]},
                                {columnWidth:1.05,items: [{xtype:'htmleditor',height:150,enableAlignments:false,enableLists:false,fieldLabel: '備註',name: 'xming',anchor:'90%',}]}
                                ]//items
                                }
                        ]//items
                    })//FormPanel

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章