- 博客(4)
- 收藏
- 关注
原创 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 727
原创 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 899
原创 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 9037
原创 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 4013
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人