摘要:
a、使用addListeners: addListener( String eventName, Function fn, Object scope, Object options ) panel.addListeners('click',function(){alert('点击事件')},this 阅读全文
摘要:
数据格式{ 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 阅读全文
摘要:
官方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 阅读全文