Extjs4自定义按钮样式
来源:互联网 发布:奇兔刷机软件有毒 编辑:程序博客网 时间:2024/05/19 16:51
首先定义css样式
- <style type="text/css">
- .settings{background: url(images/settings.png) no-repeat !important;}
- </style>
然后创建grid
- var test_grid = Ext.create('Ext.grid.Panel',{
- title: 'Test',
- id: 'test_grid_id',
- bbar: [
- '->',
- {text: 'test', iconCls: 'settings',handler: function(){
- alert("test!!");
- }},
- ],
- columns: [
- {text: "MsgId", dataIndex: 'MsgId',hidden: true},
- {text: "Read", dataIndex: 'Read'},
- {text: "Subject", flex: 1, dataIndex: 'Subject'}
- ]
- });
0 0
- Extjs4自定义按钮样式
- Extjs4自定义按钮样式
- Extjs4自定义按钮样式
- EXTJS4 自定义CSS样式
- Extjs4自定义Window关闭按钮
- 自定义上传按钮样式
- [WPF] 自定义按钮样式
- 自定义button按钮样式
- Button按钮自定义样式
- Android自定义按钮样式
- uploadify 自定义按钮样式
- WPF - 自定义按钮样式
- android 自定义按钮样式
- wpf自定义按钮样式
- 自定义按钮样式
- 自定义按钮的样式
- extjs extjs3 extjs4 htmleditor 引入自定义样式
- extjs extjs3 extjs4 htmleditor 引入自定义样式
- 黑马程序员——值类型与引用类型
- poj 2392 Space Elevator (多重背包)
- Extjs4.2 获取行数据的两种方法。
- mysql更改表结构:添加、删除、修改字段、调整字段顺序
- JNI 中 JAVA 与 C 数据类型装换 (1)
- Extjs4自定义按钮样式
- Surrounded Regions 被包围的区域
- Python re(正则表达式)模块
- I2C上拉电阻
- Extjs4自定义按钮样式
- Extjs4.2 获取行数据的两种方法。
- begin
- 贪心水题(区间覆盖)
- 【深搜优化】关路灯