上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: var TempViewPanel = Ext.extend(Ext.idip.CrudPanel, { baseUrl: '/ViewTemplate', storeMapping: ["id","name","en_name","opt_type","gameid"], constructor: function(config){ this.sm = ''; this.cm = new Ex... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(160) 评论(0) 推荐(0)
摘要: EXT是一款强大的AJAX框架,其UI设计非常华丽,所以在对UI要求高的项目中可以使用! 前面一段时间发了一篇封装的EXT CRUD面板,地址为http://www.phpchina.com/bbs/thread-59552-1-1.html只是单纯的贴出了代码,对于其中的运行原理并未提及到,这篇文章将分享该CRUD面板实现原理,好了,不废话,正式开始。 下面的内容是毕业论文中的一部分,所以... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(555) 评论(0) 推荐(0)
摘要: extjs 小总结/* Ext.Msg.show({title: "错误信息",msg:"命名重复",buttons:Ext.MessageBox.OK,icon: Ext.MessageBox.ERROR});*/ =================也可以返回数据success: function( result, request ){console.log(result, request)//... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(285) 评论(0) 推荐(0)
摘要: [修补 Patch] 重命名上传文件的解决办法新版本已经不存在此问题2012年4月12日 10:33:58小的不才,刚学CI不足3个星期,第一次在论坛上发个报道贴,虽然是晚了一点 作为处女贴,先来看看重命名上传文件的问题,相信会大家都直接用数组$config['XXX']这种方法来初始化upload的,在system\libraries\Upload.php 的CI_Upload类的初始化方法in... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(301) 评论(0) 推荐(0)
摘要: 后台得到extjs中gridpanel选中行的某个值function deletefileItems() { var gsm = fileGrid.getSelectionModel();//获取选择列 var rows = gsm.getSelections();//根据选择列获取到所有的行 if (rows.length > 0) { //当有选择的数据的时候 ... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(594) 评论(0) 推荐(0)
摘要: button 带有自动提交功能。导致在JS中回车执行了 button的删除功能<button name='deltr' style='background-Color:#FFF;border:0;'>删除</button> <input type='button' name='deltr' style='background-Color:#D4DBED;border:0;' value='删除' ... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(204) 评论(0) 推荐(0)
摘要: 5. Eclipse下SVN应用5.1安装Eclipse SVN plugin(Subclipse)Eclipse的使用者可以通过Eclipse的插件自动下载和更新功能来安装这个插件,在Eclipse的菜单中选择 Help->Software Updates->Find and Install-> Search for new features to install ->New Remote Si... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(304) 评论(0) 推荐(0)
摘要: 出现这个错误说明是程序在调用'ZipArchive' 这个类的时候没有成功,原因是由于在安装php的时候没有增加php zip的支持(非zlib)。在Windows下的解决办法是:1、在php.ini文件中,将extension=php_zip.dll前面的分号“;”去除;(如果没有,请添加extension=php_zip.dll此行并确保php_zip.dll文件存在相应的目录)然后同样在ph... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(577) 评论(0) 推荐(0)
摘要: function games(){$result = $this->DB1->select('id,name')->get('game'); echo '{"data":'.json_encode($result->result()).'}'; } var libStore = new Ext.data.Store({proxy : new Ext.data.HttpProxy({url : 'V... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(860) 评论(0) 推荐(0)
摘要: var sm = new Ext.grid.CheckboxSelectionModel({singleSelect:false}); //创建一个复选框。{singleSelect:true}sm.handleMouseDown = function(grid,rowIndex,key){ //重写父类方法console.log(grid,rowIndex,key);};var colModel... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(256) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页