摘要: 一、从form中获取field的三个方法:1、Ext.getCmp('id');2、FormPanel.getForm().findField('id/name');3、Ext.get('id/name');//前提是FormPanel在界面上显示出来了。二、ExtJS如何给textfield赋值的... 阅读全文
posted @ 2016-01-20 17:47 sp950622 阅读(405) 评论(0) 推荐(0) 编辑
摘要: MySQL安装解决方法:重改密码 先停止 Mysql # stop mysql 重要:输入下面的代码# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &# mysql -u root mysql 重置密码:newpass 阅读全文
posted @ 2015-12-31 16:37 sp950622 阅读(164) 评论(0) 推荐(0) 编辑
摘要: ext3.0之前都是这样来提交:var responsea = Ext.lib.Ajax.getConnectionObject().conn;responsea.open("POST", your url,false);responsea.send(null);alert("返回来的数据为:"+r... 阅读全文
posted @ 2015-12-22 11:50 sp950622 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: 转载处:http://blog.csdn.net/yangxiaojun9238/article/details/8240139 setHeader是设置http恳求的头是MIME 和谈的拓展可以实现以下功能 Ext中 renderer一般用于Grid中对列模型的衬着上 其具体信息记录在 Ext.g 阅读全文
posted @ 2015-12-17 13:23 sp950622 阅读(686) 评论(0) 推荐(1) 编辑
摘要: var sm = new Ext.grid.CheckboxSelectionModel( { //一个特定的选择模型,它将渲染一列复选框,可以用来选择或反选多行数据。 handleMouseDown : Ext.emptyFn, //不响应MouseDown事件 ren... 阅读全文
posted @ 2015-12-01 09:56 sp950622 阅读(2293) 评论(0) 推荐(0) 编辑