EXTJS 3.0 资料 控件之 FormPanel 插入button用法
2024-09-29 15:51:10
最近发现项目中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 () { }
}]
}
]
});
最新文章
- render :template 和 render :parital
- 【UE4+Vive】学习笔记1
- USE INSTAVPN TO DESPLOY VPN server IN amazon EC2
- Radar Installation
- PHP+MySql例子
- 《深入了解 Linq to SQL》之对象的增删改 —— 麦叔叔呕心呖血之作
- Firefox 火狐网址生成二维码扩展推荐
- Java和.NET下socket转换错误记录
- MAC OS中使用ll,la命令
- if中可以使用那些作为判断条件呢?
- CentOS7下搭建hadoop2.7.3完全分布式
- CColor类封装
- 【一天一道LeetCode】#42. Trapping Rain Water
- linux逻辑卷管理(LVM)
- pymongo的用法
- CSV文件保存为utf8编码格式
- grub 启动错误 ";file not found";
- Sublime Text 自动换行
- Spring学习笔记--声明一个简单的Bean
- lucene介绍和存储介绍
热门文章
- Apache配置文件中的deny与allow小结
- 给jdk写注释系列之jdk1.6容器(3)-Iterator设计模式
- 从医生看病和快餐店点餐理解Node.js的事件驱动
- controller,link,compile不同
- 关于JDK中的集合总结(三)
- 【转】istringstream、ostringstream、stringstream 类介绍 .
- poj 3159 差分约束
- oracle数据库创建表空间和表临时空间
- SecureCRT连接虚拟机中的Linux系统(Ubuntu)
- 技术博客rss订阅源收集