07 2013 档案

摘要:扩展js代码 1 /* 2 *list多选扩展 3 */ 4 Ext.define('ux.SimpleList', { 5 alternateClassName: 'simpleList', 6 extend: 'Ext.List', 7 xtype: 'simpleList', 8 config: { 9 editCls: 'simpleList', 10 //不加在长按时可能没反应 11 onItemDisclosure: false, 12 //是否在多选状态(不可更改) ... 阅读全文
posted @ 2013-07-18 15:19 魔狼再世 阅读(2665) 评论(9) 推荐(2) 编辑
摘要:测试代码如下 1 Ext.define('app.view.new.List', { 2 alternateClassName: 'newList', 3 extend: 'app.view.util.MyList', 4 requires: ['app.view.new.Info'], 5 xtype: 'newList', 6 config: { 7 store: 'newList', 8 listeners: { 9 itemtaphold: function(list) {10 ... 阅读全文
posted @ 2013-07-17 10:51 魔狼再世 阅读(2249) 评论(2) 推荐(1) 编辑
摘要:可以设置一个一直都显示的二级菜单,修复了没有二级菜单时鼠标移上去仍然显示上一个二级菜单的问题.支持一级菜单鼠标离开事件html代码 1 2 3 4 5 我的网站 6 7 8 9 10 11 12 13 14 15 16 17 18 主 页19 金融资讯20 ... 阅读全文
posted @ 2013-07-10 10:33 魔狼再世 阅读(1234) 评论(2) 推荐(1) 编辑
摘要:先从model讲起代码如下: 1 //求职 2 Ext.define('app.model.Staff', { 3 extend: 'Ext.data.Model', 4 config: { 5 fields: [{ 6 name: 'id', 7 type: 'int' 8 }, 9 { 10 //用户id 11 name: 'uid', 12 type: 'int' 13 }... 阅读全文
posted @ 2013-07-03 17:15 魔狼再世 阅读(2724) 评论(3) 推荐(1) 编辑

点击右上角即可分享
微信分享提示