上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 后台得到extjs中gridpanel选中行的某个值function deletefileItems() { var gsm = fileGrid.getSelectionModel();//获取选择列 var rows = gsm.getSelections();//根据选择列获取到所有的行 if (rows.length > 0) { //当有选择的数据的时候 ... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(592) 评论(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 阅读(202) 评论(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 阅读(297) 评论(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 阅读(855) 评论(0) 推荐(0)
摘要: 一.一级下拉列表1. 一级下拉列表框本地初始化二级数组自动匹配value和text,初始化value值时会自动选中相应选项items : [{ xtype : 'combo', fieldLabel : '预警级别', id : 'warningLevel', store :[[1,'1级'],[2,'2级'],[3,'3级']], width:100, value:'', triggerA... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(232) 评论(0) 推荐(0)
摘要: extjs表单FormPanel验证 EXT正则表达式prototype浏览器在Extjs中,FormPane表单提供了各种各样的验证,先总结一下在讲解表单验证前需要说一下和其相关的一下设置//在onReady的function({})添加以下两行代码, Ext.QuickTips.init();//为组件提供提示信息功能,form的主要提示信息就是客户端验证的错误信息。 Ext.form.Fie... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(992) 评论(0) 推荐(0)
摘要: (1)箭头样式new Ext.tree.TreePanel({ useArrows : true,//是否使用箭头样式学习笔记" border=0 alt="" src="http://images.cnblogs.com/cnblogs_com/holyes/201206/201206261015432861.jpg" real_src="http://www.blogjava.net/ima... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(381) 评论(0) 推荐(0)
摘要: 提高篇:第十三篇,利用Ext实现Icon小图标的部分用法 还是先看看效果图吧 图片总是在恰当的时候可以说明一切//Button图标 var btn = new Ext.Button({text:"button图标",cls: 'x-btn-text-icon',icon:"../Images/Menus/house.png",renderTo:"btnIcon"});//Menu图标var men... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(123) 评论(0) 推荐(0)
摘要: Ext.namespace() Ext命名空间介绍1:支持命名空间<script type="text/javascript"> //定义一个命名空间 Ext.namespace("Ext.wentao"); //在命名空间上定义一个类 Ext.wentao.helloworld = Ext.emptyFn; //创建一个类的实例 new Ext.wentao.... 阅读全文
posted @ 2012-06-26 10:16 holyes 阅读(407) 评论(1) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页