ITeye博客

linkyou66的博客

linkyou66 · 共 266 篇文章

extjs之combobox setValue无效解决方法

1.combobox定义如下 mu_project_ds_add = new Ext.data.JsonStore({ url : 'GetProjectSelectList', root : 'root', autoLoad : true, fields : [ 'projectid', 'projectname' ] }); mu_combo_project_add = new Ext.form.ComboBox({ fieldLabel : '项目(*)', name : 'mu_combo_project_add', editable : true, mode : 'remote',…

2011-07-07 11:02 · 评论(0)

extjs 之Ext.data.Store变更单行记录值【修改】

1.record声明如下 machineuse_record = Ext.data.Record.create([{ name : 'id', type : 'int' }, { name : 'projectname', type : 'string' }, { name : 'projectid', type : 'int' }, { name : 'ip', type : 'string' }, { name : 'server', type : 'string' }]); 2.datastor声明如下 machineuse_list_grid_store = new Ext.data…

2011-07-07 10:12 · 评论(0)

extjs 之Ext.data.Store[Grid]操作(增删)

Ext.data.Store是extjs的数据结构。 主要用于extjs的grid和combobox等控件的数据加载和操作。实际上对grid的增删改可以通过对store的操作来控制. 例子:对grid的增删操作 A.增加一条记录 1. 首先需要定义每条record的结构,这点很重要,方便后面对记录的操作。也是很好的编程习惯 machine_record = Ext.data.Record.create([{ name : 'id', type : 'int' }, { name : 'ip', type : 'string' }, { name : 'env', type : 'string…

2011-07-05 18:57 · 评论(0)

linux 下写socket遭遇broken pipe(SIGPIPE C++)

2011-05-26 16:57 · 评论(0)

python assert dict 断言@对比@之递归断言

2011-05-23 17:34 · 评论(0)

linux 下python 调用C++ .so如何debug c++代码

2011-05-12 18:52 · 评论(0)

linux shell编程之修改环境变量

2011-05-11 11:37 · 评论(0)

linux shell之一键式安装测试框架

2011-05-11 11:32 · 评论(0)

LINUX SHELL编程之远程拷贝

2011-05-11 11:25 · 评论(0)

5w 留贴纪念日期

2011-05-09 14:25 · 评论(0)

C++ python 交互之 python.dict to c++ map

2011-05-06 20:49 · 评论(0)

linux C++ 类成员函数中创建线程,且能访问类中其他成员变量

2011-05-04 12:49 · 评论(0)

linux C++ 类成员函数中创建线程,且能访问类中其他成员变量

2011-05-04 12:49 · 评论(0)

python 如何传递字典型变量(不定参数)给c++

2011-04-29 13:50 · 评论(0)

python 如何传递字典型变量(不定参数)给c++

2011-04-29 13:50 · 评论(0)