extjs Ext.FormPanel add 多个文本框 怎么不能横向排序

wtydoone 2013-12-17 12:01:14
var _textfield = { id:'p_insto40e4842642dbafc70142dbc698cf001d' , name:'p_insto' ,xtype:'textfield' , fieldLabel: '机构', readOnly: 'fasle' ,anchor: '70%', allowBlank: 'false' }; report_SForm.add(_textfield); report_SForm.doLayout(); var _field={ id:'ew4340e4842642dbafc70142dbc698cf001d' , name:'ew43' ,xtype:'textfield' , fieldLabel: '3443', readOnly: 'fasle' ,anchor: '70%', allowBlank: 'false' }; report_SForm.add(_field); report_SForm.doLayout(); var report_SForm = new Ext.FormPanel( { region : 'center', id : 'aaa', title : bundle.getMsg('report_STab.title'), buttonAlign : 'center', bodyStyle : 'padding:5px 5px 0', waitMsgTarget : true, cls : 'main_bg', closable : true, header : false, // collapsible : true, autoScroll : true, frame : true });
因为文本框的内容都是从数据库动态读取生成,有可能读取5个不同文本框,加载到Ext.FormPanel,怎么让文本框横向排序三个文本框,然后换行排序两个文本框
...全文
84 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

52,797

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ajax
社区管理员
  • Ajax
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧