最近发现项目中FormPanel 里面需要 增加 button,的模块比较多,具体代码如下:

var eastPanelForm_Dele = new Ext.form.FormPanel({
id: 'eastPanelForm_Dele',
width: 250,
border: false,
autoScroll: true,
height: 400,
frame: true,
layout: 'form',
region: 'center',
items: [{
bodyStyle: 'padding:30px',
layout: 'column',
items: [{
id: 'btnAllDele',
width: 200,
height: 100,
xtype: 'button',
text: '狠心删除',
handler: function () { }
}]
}, {
bodyStyle: 'padding:30px',
layout: 'column',
height: 150,
items: [{
id: 'btnAllDeleThink',
width: 200,
height: 100,
xtype: 'button',
text: '我再想想',
handler: function () { }
}]
}
]
});

最新文章

  1. render :template 和 render :parital
  2. 【UE4+Vive】学习笔记1
  3. USE INSTAVPN TO DESPLOY VPN server IN amazon EC2
  4. Radar Installation
  5. PHP+MySql例子
  6. 《深入了解 Linq to SQL》之对象的增删改 —— 麦叔叔呕心呖血之作
  7. Firefox 火狐网址生成二维码扩展推荐
  8. Java和.NET下socket转换错误记录
  9. MAC OS中使用ll,la命令
  10. if中可以使用那些作为判断条件呢?
  11. CentOS7下搭建hadoop2.7.3完全分布式
  12. CColor类封装
  13. 【一天一道LeetCode】#42. Trapping Rain Water
  14. linux逻辑卷管理(LVM)
  15. pymongo的用法
  16. CSV文件保存为utf8编码格式
  17. grub 启动错误 "file not found"
  18. Sublime Text 自动换行
  19. Spring学习笔记--声明一个简单的Bean
  20. lucene介绍和存储介绍

热门文章

  1. Apache配置文件中的deny与allow小结
  2. 给jdk写注释系列之jdk1.6容器(3)-Iterator设计模式
  3. 从医生看病和快餐店点餐理解Node.js的事件驱动
  4. controller,link,compile不同
  5. 关于JDK中的集合总结(三)
  6. 【转】istringstream、ostringstream、stringstream 类介绍 .
  7. poj 3159 差分约束
  8. oracle数据库创建表空间和表临时空间
  9. SecureCRT连接虚拟机中的Linux系统(Ubuntu)
  10. 技术博客rss订阅源收集