LigerUi-Js中Grid行修改时,不执行保存事件的原因?(已解决)
(1)
(2)下面代码写在grid上面
function itemclick1(item) {
var editingrow = grid.getEditingRow();
switch (item.text) {
case "增加":
...
分类:
Web程序 时间:
2014-06-20 09:40:01
阅读次数:
425
Enumerations and Structures
Enumerations 枚举的使用
使用 enum 定义一个枚举,枚举里面可以关联方法,比如下文中的描述方法
enum Rank: Int {
case Ace = 1
case Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten
case Ja...
分类:
其他好文 时间:
2014-06-20 09:03:39
阅读次数:
322
What I am looking for:A way to apply styling to
oneHALFof a character. (In this case, half the letter being
transparent)我正在寻找:一种方法为半个字符应用样式。(在这种情况下,一半...
分类:
Web程序 时间:
2014-06-12 00:26:09
阅读次数:
618
原文:Swift中文教程(六)--枚举和结构Enumerations枚举使用enum来创建一个枚举。跟Classes(类)和其他类型的命名方式一样,枚举也可以有Method(方法)。
1 enum Rank: Int { 2 case Ace = 1 3 case Two, Three, Four,...
分类:
其他好文 时间:
2014-06-11 23:21:03
阅读次数:
395
Jenkins的job->build 支持Ant,maven,windows
batch和Shell,
但是我们知道python,perl,ruby等脚本其实也是shell脚本,所以这里的Shell可以扩展为python,perl,ruby等。例如:
下面执行windows batch 和pytho...
分类:
编程语言 时间:
2014-06-11 10:03:49
阅读次数:
296
题目:http://poj.org/problem?id=1328注意 输出 Case
:这里是有个空格的。。和之前序列想法差不多 尽可能 向一边贪心。#include #include #include #include #include
#include #include #include #i...
分类:
其他好文 时间:
2014-06-11 08:00:13
阅读次数:
252
uiautomator神工具
虽然没找到解决的方法,但是让我无意中发现了一个好工具,比sl4a更好用的工具,直接包装uiautomator,调用uiautomator的api在本地直接编写脚本,然后运行测试case,这样比用java写,然后再打包,runcase要简单的多,关键是他...
分类:
Web程序 时间:
2014-06-07 15:30:08
阅读次数:
698
update #temp
set #temp.Recycle=case when UnionA.num>0 then 1 else 0 end
from (select GradeID,sum(num)as num from AreaAllot
where CHARINDEX(@Area,AreaAllot.Area)=1 and LEN(@Area)=LEN(Area)-2
...
分类:
数据库 时间:
2014-06-07 12:57:44
阅读次数:
304
1. 普通的二分查找2. 查找最左边的值3. 查找最右边的值Worst case
performance: O(log n)Best case performance: O(1)Average case performance: O(log
n)Worst case space complexity...
分类:
其他好文 时间:
2014-06-07 11:19:48
阅读次数:
248
我在cmake编译后想执行一些特定的shell命令(执行、lcov收集代码覆盖报告等),我又不想写到XX.sh的shell脚本中,如何直接通过CMake执行shell命令呢?在网上翻江倒海了一下,找到了一个老外写的cmake脚本,参考他,自己写了下,终于实现了我的目标,主要是用ADD_CUSTOM_...
分类:
其他好文 时间:
2014-06-07 08:12:11
阅读次数:
754