--renderers渲染器
可以格式化该列显示的数据格式或者按照你自定义的脚本显示最终数据样子
先看下renderer: function()里的参数
renderer:function(value, cellmeta, record, rowIndex, columnIndex, store){
}
1.value是当前单元格的值
2.cellmeta里保存...
分类:
Web程序 时间:
2015-01-30 09:11:26
阅读次数:
336
原题地址双指针法。右指针不断向右试探,当遇到重复字符时停下来,此时左指针开始向右收缩,直到去掉那个重复字符。代码: 1 int lengthOfLongestSubstring(string s) { 2 map record; 3 int maxLen = 0; 4...
分类:
其他好文 时间:
2015-01-29 19:20:25
阅读次数:
140
Ext序号默认是不会递增的写法如下new Ext.grid.RowNumberer({header:"序号",width:35})如需递增写法如下{header:"序号",width:35, renderer:function(value,metadata,record,rowIndex...
分类:
其他好文 时间:
2015-01-29 17:19:02
阅读次数:
290
#include #include char* menu[] = { "a - add new record", "d = delete record", "q - quit", NULL,
};
// int func(int a[]) // a is a pointer to the first...
分类:
其他好文 时间:
2015-01-29 10:23:11
阅读次数:
148
创建过程下面展示建一个单文档程序的过程,在MFC Application Wizard中第一步做如下选择不妨Project style选择MFC stardard,Visual style and colors选择Windows Native/Default,其他的选项将创建不同样式的界面。下一步C...
分类:
其他好文 时间:
2015-01-29 09:17:09
阅读次数:
1303
1:进入模式adb shell2:进入目录cd dir3:查看sqlite 数据库 sqlite3 name.db4:查看表结构 .schemaCREATE TABLE android_metadata (locale TEXT);CREATE TABLE record(_id integer .....
分类:
移动开发 时间:
2015-01-28 17:48:52
阅读次数:
204
有时用valgrind定位内存泄露问题时当内存泄露的位置在动态库(so)中时, 输出的调用栈为问号"???"并且没有指明源码的行号.即使尝试了加 -g 的编译参数并且程序退出前不执行dlclose,也无济于事.
==29941== 17 bytes in 1 blocks are definitely lost in loss record 29 of 197
==29941== at...
分类:
其他好文 时间:
2015-01-28 14:43:58
阅读次数:
242
原文:使用 CodeIgniter 框架快速开发 PHP 应用(四)使用 CI 简化数据库开发你学习CI 是因为你想要使编程更容易和更有生产力。这一章讲述CI的Active Record类。 如果CI只提供一个Active Record类,它还是物超所值的。当然,CI是免费的,只不过我要强调Acti...
分类:
Web程序 时间:
2015-01-28 12:52:25
阅读次数:
274
1 Intent intent = new Intent(Intent.ACTION_GET_CONTENT);2 intent.setType("audio/*");3 startActivity(Intent.createChooser(intent, "Select music"));
分类:
其他好文 时间:
2015-01-27 21:45:50
阅读次数:
143
AudioTrack 在Java应用中,管理和播放一个单一的语音资源The AudioTrack class manages and plays a single audio resource for Java applications.* It allows streaming of PCM au...
分类:
其他好文 时间:
2015-01-27 21:32:58
阅读次数:
243