EASYUI设置combobox的默认值
来源:互联网 发布:js json对象 编辑:程序博客网 时间:2024/04/29 08:02
{field:'pervasive',title:'是否普算',width:90,formatter:hdl.easyUIComm.pervasiveFormatter,
editor:{
type:'combobox',
options:{
required: true,
url:contextPath+"/comm/pervasiveSelector.do?ALL=false",
panelWidth:120,
panelHeight:100,
valueField:'key',textField:'value',
onLoadSuccess: function () { //加载完成后,设置选中第一项
var data = $(this).combobox("getData");
if (data.length > 0) {
$(this).combobox('select', data[0].key);
}
}
}
}
}
editor:{
type:'combobox',
options:{
required: true,
url:contextPath+"/comm/pervasiveSelector.do?ALL=false",
panelWidth:120,
panelHeight:100,
valueField:'key',textField:'value',
onLoadSuccess: function () { //加载完成后,设置选中第一项
var data = $(this).combobox("getData");
if (data.length > 0) {
$(this).combobox('select', data[0].key);
}
}
}
}
}
0 0
- EASYUI设置combobox的默认值
- EasyUI Combobox 设置默认值
- easyui ComboBox设置默认值
- Easyui combobox设置默认值
- Easyui combobox 设置默认值
- 怎么设置easyui 的 combobox的默认值
- easyui中combobox设置默认值的方法
- easyui combobox设置默认值 获取text
- 控件easyui-combobox动态设置默认值
- Ext ComboBox 默认值的设置
- easyui combobox动态加载数据和设置默认值
- c#中ComboBox 控件默认值的设置
- easyui combobox 选中某个默认值
- jQuery-easyUI-combobox默认值问题
- ComboBox中设置默认值
- wpf ComboBox设置默认值
- SSH 和 EasyUI结合的 combobox默认值问题解决方法
- easyui comBox设置默认值
- 'Publishing to Tomcat6.0 Server at localhost...' has encountered a problem
- Centos 6.5+Tengine(Nginx)+Django+uwsgi 安装记录
- CLH队列锁
- Spring MVC 框架搭建及详解
- Postgresql 启动could not create listen socket for "localhost"错误的解决
- EASYUI设置combobox的默认值
- java获得系统属性
- ios笔记--@property写法和autorelease pool自动释放池笔记
- 【完整的数据分析流程】
- vb变量定义方法
- Search for a Range
- Eclipse git图文教程
- MFC消息截获之pretranslatemessage
- VC++实现程序在任务栏中闪烁提示