自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除