php – 创建空的文件空间
发布时间:2020-12-13 17:14:25 所属栏目:PHP教程 来源:网络整理
导读:我有这个菜单: items:[ { xtype: 'form',id: 'searchPanel',title: 'Search',collapsible: true,bodyPadding: 10,height: 210,buttonAlign: 'left',defaults: { width: 400,labelWidth: 120,allowBlank: true,enableKeyEvents: true },layout: { type: 'tab
我有这个菜单:
items:[ { xtype: 'form',id: 'searchPanel',title: 'Search',collapsible: true,bodyPadding: 10,height: 210,buttonAlign: 'left',defaults: { width: 400,labelWidth: 120,allowBlank: true,enableKeyEvents: true },layout: { type: 'table',columns: 2 },items: [ { xtype: 'textfield',name: 'txtFltrSiteName',fieldLabel: 'Site name or alias',id: 'txtFltrSiteName' },{ xtype: 'textfield',name: 'txtDiskCost',fieldLabel: 'Disk cost',id: 'txtDiskCost',style: 'margin-left: 100px;' },name: 'txtFltrProjectName',fieldLabel: 'Project name',id: 'txtFltrProjectName' },// many other fields 并且chackboxes和文本字段具有不同的宽度,因此它看起来很丑陋. ---------- | 1 | 1 | | 2 | 2 | | 3 | | | 4 | | |..etc...| ---------- 解决方法
只需隐藏输入.
像这样: { xtype: 'hidden',name: 'hidden1',id: 'hidden1' }, 这将使< td>列,但它将是空的因为它将被隐藏输入. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |