上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 48 下一页
摘要: 1 var store = new HT.SyncStore({ 2 baseParams : { 3 itemName : '绩效考核_任务状态' 4 }, 5 url : __ctxPath 6 ... 阅读全文
posted @ 2016-05-04 08:33 dirgo 阅读(869) 评论(0) 推荐(0)
摘要: 原文地址 :http://www.qeefee.com/article/ext-grid-keep-paging-selection ExtJS中经常要用到分页和选择,但是当选择遇到分页的时候,杯具就发生了,每一次翻页,其它页面的选中行就消失了。Ext 没有为我们提供内置的保持选中的支持,只有我们自 阅读全文
posted @ 2016-04-28 16:04 dirgo 阅读(1566) 评论(0) 推荐(1)
摘要: 原文地址:http://379548695.iteye.com/blog/1167234 grid的复选框定义如下: Js代码 var sm = new Ext.grid.CheckboxSelectionModel({ handleMouseDown : Ext.emptyFn, singleSe 阅读全文
posted @ 2016-04-28 15:24 dirgo 阅读(4268) 评论(0) 推荐(0)
摘要: 打开window-preference -> General-Editors-File Associator 看到右边的.js下边就是设置默认打开方式了 转自百度知道:http://zhidao.baidu.com/link?url=wuTTVrO2WyxC56cusW4oSDuH7CkZ7zBlw 阅读全文
posted @ 2016-04-27 10:23 dirgo 阅读(4389) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/ysughw/article/details/9288307 POI操作Excel时偶尔会出现Cannot get a text value from a numeric cell的异常错误。 异常原因:Excel数据Cell有不同的类型,当我们试 阅读全文
posted @ 2016-04-19 10:10 dirgo 阅读(757) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/jerehedu/article/details/45195359 一、介绍 当前B/S模式已成为应用开发的主流,而在企业办公系统中,常常有客户这样子要求:你要把我们的报表直接用Excel打开(电信系统、银行系统)。或者是:我们已经习惯用Excel 阅读全文
posted @ 2016-04-18 16:31 dirgo 阅读(256) 评论(0) 推荐(0)
摘要: 原文地址:http://www.stepday.com/topic/?459 作文一个ExtJs的入门汉子,学习起来的确是比较费劲的事情,不过如今在这样一个网络资源如此丰富的时代,依然不是那么难了的。基本上都是Copy过来加以部分改造即可实现自己想要的功能,加之如今的第三方开发者也大发慈悲地写出了A 阅读全文
posted @ 2016-04-15 17:04 dirgo 阅读(5595) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/zczzsq/article/details/16803349 本实例做的是读取execl(只能读取.xls的execl,即只能读取03版的),如果是.xlsx类型的话 手工转化一下即可,应用的jar包是apache的poi系类的jar包和ojdb 阅读全文
posted @ 2016-04-15 15:55 dirgo 阅读(779) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/mgoann/article/details/7239492 Debug视图 认识debug视图,红色部分框为线程堆栈视图,黄色部分框为表达式、断点、变量视图,蓝色部分为代码视图。 线程堆栈视图 分别介绍一下这几个按钮的含义: 1.表示当前实现继续 阅读全文
posted @ 2016-04-15 15:53 dirgo 阅读(1252) 评论(0) 推荐(0)
摘要: 当然需要先用try catch捕获,但注意new Exception("")括号里的字符串其实是异常原因,所以获取是要用ex.getCause().getMessage() 阅读全文
posted @ 2016-04-11 16:57 dirgo 阅读(71499) 评论(0) 推荐(2)
摘要: 原文地址:http://blog.csdn.net/hongleidy5000/article/details/7329325 [javascript] view plain copy if (!formDetail.getForm().isValid()) { msg("警告", "请填写必要信息 阅读全文
posted @ 2016-04-11 16:49 dirgo 阅读(294) 评论(0) 推荐(0)
摘要: 其实只要在表格控制中添加一句 <td style="word-break:break-all">就搞定了。 其中可能对英文换行可能会分开一个单词问题:解决如下: 语法: word-break : normal | break-all | keep-all 参数: normal : 依照亚洲语言和非亚 阅读全文
posted @ 2016-04-07 10:15 dirgo 阅读(861) 评论(0) 推荐(0)
摘要: 原文地址:http://www.devnote.cn/article/82.html 基本原则是:每次提交前需要先和线上的对比,先把冲突解决掉,然后把线上的更新到本地,最后把本地的提交上去。 阅读全文
posted @ 2016-04-05 13:42 dirgo 阅读(169) 评论(0) 推荐(0)
摘要: 为了方便写JSP,我们引入了EL和JSTL表达式 EL表示类似:<%=request.getAttribute("info")%> JSTL类似: <table border=1> <tr><td>ID</td><td>用户名</td><td>密码</td></tr> <c:forEach item 阅读全文
posted @ 2016-03-24 16:09 dirgo 阅读(452) 评论(0) 推荐(0)
摘要: 原文地址:http://outofmemory.cn/java/OutOfMemoryError/outofmemoryerror-permgen-space-in-tomcat-with-eclipse 有的项目引用了太多的jar包,或者反射生成了太多的类,异或有太多的常量池,就有可能会报java 阅读全文
posted @ 2016-03-23 13:17 dirgo 阅读(238) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.sina.com.cn/s/blog_67cc6e7d0100ox6u.html ExtJS中,一般很少需要遍历Store,因为它的selectModel很好用,无论是单行选择还是checkbox的多行选择,都可以根据Grid的 XXXGrid.getSelecti 阅读全文
posted @ 2016-03-22 10:32 dirgo 阅读(645) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/liuguxing/article/details/8623190 编辑数据的时候需要默认选中某一项,可编写函数 需要注意的是,在调用App.selectComboBox之前,必须先调用comboBox.getStore().load(); 加载数 阅读全文
posted @ 2016-03-22 09:39 dirgo 阅读(1366) 评论(0) 推荐(0)
摘要: renderer可以格式化该列显示的数据格式或者按照你自定义的脚本显示最终数据样子,个人是这么理解,如果你不是可以看下本文 复制代码 代码如下: var cm = new Ext.grid.ColumnModel( [ new Ext.grid.RowNumberer({ header: "", w 阅读全文
posted @ 2016-03-21 14:03 dirgo 阅读(2172) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/loveme123/archive/2012/05/10/2494466.html 1、 配置combo: { columnWidth: .3, layout: 'form', border: false, items: [{ id: "txt 阅读全文
posted @ 2016-03-21 10:38 dirgo 阅读(415) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/timy/archive/2010/08/13/1799111.html 根据我在EXT论坛上的观察,xtype用起来的时候疑惑会比较多。甚至有些人根本忽略xtype,或者不清楚它是什么。所以我决定阐述一下这个xtype的概念。 xtype就是 阅读全文
posted @ 2016-03-21 10:21 dirgo 阅读(2177) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 48 下一页