- 博客(6)
- 收藏
- 关注
原创 Extjs4自定义按钮样式
首先定义css样式 [html] view plaincopy style type="text/css"> .settings{background: url(images/settings.png) no-repeat !important;} style> 然后创建grid [javascript]
2014-01-20 20:11:16
918
原创 Extjs4.2 获取行数据的两种方法。
var test_grid = Ext.create('Ext.grid.Panel',{ id: 'test_grid_id', columns: [ {text: "MsgId", dataIndex: 'MsgId',hidden: true}, {text: "Read", dataIndex: 'Re
2014-01-20 20:10:22
724
原创 Extjs 4.2 动态更新panel内容
1. 创建panel var test_panel = Ext.create('widget.panel',{ id: 'test_panel_id' }); 2. 动态更新 Ext.getCmp('test_panel_id').removeAll(); test_panel.add( Ext.creat
2013-12-02 11:04:26
698
原创 Extjs4.2 grid datastore读取xml和json
1. 读取xml文件 var store = Ext.create('Ext.data.Store', { proxy: { type: 'ajax', url: 'js/xmlfile/messages.xml',//项目中的路径 reader: {
2013-12-02 10:53:20
891
原创 Extjs4.2 获取行数据的两种方法。
var test_grid = Ext.create('Ext.grid.Panel',{ id: 'test_grid_id', columns: [ {text: "MsgId", dataIndex: 'MsgId',hidden: true}, {text: "Read", dataIndex: 'Read',hidden: true},
2013-12-02 10:33:34
9001
原创 Extjs4自定义按钮样式
首先定义css样式 .settings{background: url(images/settings.png) no-repeat !important;} 然后创建grid var test_grid = Ext.create('Ext.grid.Panel',{ title: 'Test', id: 'test_grid_id',
2013-12-02 10:16:00
3985
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人