ntldr is missing windows7 win7 解决方案,绝对可行
摘要:写这篇文章是因为记性不好,上次出现的问题解决后,这次相同的问题忘记了怎么弄,多花了些时间。记录一下免得以后又忘记了。 故障表现:ghost 还原系统后出现 ntldr is missing : 问题起因:原来装的是XP系统,后来买了个固态硬盘在里面装了个win7系统,就是双系统。把固态硬盘上的win
阅读全文
posted @
2013-05-31 13:16
xsSystem
阅读(7468)
推荐(0)
Extjs4.2.0 store.sync()
摘要:以下是实验得到结论:1.编辑一行记录服务器发生错误,处理结果是:failure返回数据根下success为false {success:false,.......}:处理结果是failure/相反是success,这还不一定由5条结论否定了当处理结果为 success,会无条件执行commit();commit(true)还是commit(false)这个没测试返回数据应按照 proxy.reader 的设置格式返回,当满足格式要求,数据才会回填至当前编辑行,提交的是一条记录,返回可以是{record},[{record}]都可以当有回填数据并且格式正确但不能读取如回填record为{null
阅读全文
posted @
2013-05-29 22:58
xsSystem
阅读(1470)
推荐(0)
addListener( String/Object eventName, [Function fn], [Object scope], [Object options] )
摘要:An object containing handler configuration.Note: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.This object may contain any of the following properties:scope : ObjectThe scope (this reference) in which the handler function is executed. If omit
阅读全文
posted @
2013-05-28 13:23
xsSystem
阅读(720)
推荐(0)
Extjs 添加事件
摘要:a、使用addListeners: addListener( String eventName, Function fn, Object scope, Object options ) panel.addListeners('click',function(){alert('点击事件')},this
阅读全文
posted @
2013-05-27 21:16
xsSystem
阅读(525)
推荐(0)
Extjs4.2.0 Ext.form.Basic
摘要:数据格式{ 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
阅读(397)
推荐(0)
Extjs4.2.0 Grid 的单元格提示
摘要:官方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
阅读(675)
推荐(0)
Extjs4.2.0 Ext.data.proxy.Rest
摘要:Ext.data.proxy.Rest 继承至 Ext.data.proxy.Ajax最大区别是按 Rest 风格构建请求//Ext.data.proxy.Ajax 定义为actionMethods: { create : 'POST', read : 'GET', update : 'POST', destroy: 'POST' }//Ext.data.proxy.Rest 定义为actionMethods: { create : 'POST', read : 'GET', update :
阅读全文
posted @
2013-05-26 20:16
xsSystem
阅读(790)
推荐(0)
Extjs4.2.0 AJAX
摘要:Ext.Ajax.request({ url : 'S/xs_markets/xs_markets_fy.data.asp?act=submit', async : true,//默认为false params : { edtRecData : Ext.JSON.encode(edtRecData) }, ...
阅读全文
posted @
2013-05-24 15:38
xsSystem
阅读(392)
推荐(0)
Extjs4.2.0 Grid
摘要:向服务器更新一个单元格,网上大多数教程是以下写法,构建参数然后AJAX提交给服务器处理grid单元格编辑,获取单元格对应 列名:eOpts.column.text列数:this.up('grid').view.headerCt.getColumnCount()EXTJS4 gridpanel中动态的显示/隐藏某个列http://www.cnblogs.com/zdkjob/archive/2013/04/28/3048968.html在extjs3中,大家知道用myGrid.getColumnModel().setHidden(i,true);但到了4.0后,已经没有getCo
阅读全文
posted @
2013-05-24 15:16
xsSystem
阅读(677)
推荐(0)
Ext.data.Model
摘要:转:http://blog.sina.com.cn/s/blog_7778950d0100xgel.html 在发布的ExtJS4版本中,在data包中新增加了一个类Model(模型类)。这个类有点类似于ExtJS3.x中的record,但是新添加的Model的功能要比record类的功能强大的多,
阅读全文
posted @
2013-05-24 03:04
xsSystem
阅读(344)
推荐(0)
Extjs4.2.0 Form 的使用
摘要:取值formPanel.getForm().getValues()//所有值{name:value,name2,value2}formPanel.getForm().getValues().name//取一个指定值
阅读全文
posted @
2013-05-23 23:55
xsSystem
阅读(216)
推荐(0)
Extjs Store 的使用
摘要:一:统计功能 1.获得总行数起始值为1:store.getCount(); 2.某列数字求和:store.sum('Fhtje');//参数字段名 3.遍历 store.each(function(record) { alert(record.get('name'));}); 二:载入数据 load
阅读全文
posted @
2013-05-23 22:24
xsSystem
阅读(1718)
推荐(0)