2013年5月27日
摘要: a、使用addListeners: addListener( String eventName, Function fn, Object scope, Object options ) panel.addListeners('click',function(){alert('点击事件')},this 阅读全文
posted @ 2013-05-27 21:16 xsSystem 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 数据格式{ success: true, data: { bookId: 10, bookName: "Ext JS 4 First Look", bookAuthor: "Loiane Groner" }} 参考文献:Yii Framework 整合Extjs Direct实现RPC的方法:http://lonestone.iteye.com/blog/846009http://hi.baidu.com/lhmmit/item/b686f11438ecf2f6746a8444ExtJs表单及其元素了解ExtJs4.0中基本表单Ext.form.Basi 阅读全文
posted @ 2013-05-27 15:25 xsSystem 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 官方docs有个例子,给出的是行提示var view = grid.getView();var tip = Ext.create('Ext.tip.ToolTip', { // The overall target element. target: view.el, // Each grid row causes its own separate show and hide. delegate: view.itemSelector,//选择器这里选择'tr.x-grid-row';被选择器选中的元素都会添加tip // Moving within the row 阅读全文
posted @ 2013-05-27 12:40 xsSystem 阅读(660) 评论(0) 推荐(0) 编辑