-
easyUI datagrid 双击某一行弹出dialog
- jQuery('#user-grid').datagrid({
- url: basePath + 'user-manager-list.html',
- 870,
- height: 338,
- fitColumns: true,
- pagination:true,
- rowIndex:'login_name',
- singleSelect:true,
- toolbar:
- [
- {text:'添加',iconCls :'icon-add',handler:newUser} ,
- {text:'编辑, iconCls:'icon-edit', handler:editUser },
- {text:'删除, iconCls:'icon-remove',handler:removeUser }
- ],
- // 双击函数
- onDblClickRow:function() {
- editUser();
- },
- columns:[
- [
- {field:'login_name',title:'登录名称,120},
- {field:'employ_id',title:'员工号码,80},
- {field:'email',title:'邮件地址,200,align:'right'},
- {field:'status',title:'状态,200,align:'center'},
- {field:'expiry_date',title:'到期日期',160},
- {field:'create_date',title:'创建日期,160,align:'center'}
- ]
- ]
- });
-
- }
-
- </script>
-
- var customOBJ;
- $('#customobjList').datagrid({
- 500,
- height:200,
- pageSize:5,
- pageList:[5,15,20,25,30,35,40],
- singleSelect:true,
- nowrap:false,
- url:'${basePath}/marketPlat/addDataServlet?method=seachOwnCustomobj',
- onLoadSuccess:function(data){
-
- },
- // 双击函数
- onDblClickRow:function(rowIndex, rowData){
- customOBJ=new Object();
- customOBJ.customobjId=rowData.customObjId;
- customOBJ.customobjName=rowData.name;
- setCustomobjName(customOBJ);
-
- show(customOBJ.customobjId);
- },
- columns:[[
- {field:'name',title:'客户单位全称',180,align:'left',
- formatter:function(value,rowData,rowIndex){
-
- return value;
- }
- },
- {field:'industry',title:'所属行业',150,align:'center'},
- {field:'regionType',title:'客户类别',150,align:'center'}
- ]],
- pagination:true
- });
- function show(id)
- {
- var url='${basePath}/page/marketPlat2/addData/seachProduct_list.jsp?type='+id;
- var productWin=$('#product-window').window({
- href:url,
- title:'选择产品',
- closed: true,
- minimizable:false,
- collapsible:false,
- maximizable:false,
- cache:false,
- shadow:false
- });
- productWin.window('open');
- }
-
相关阅读:
电脑华硕A455L系列,机械硬盘换成固态硬盘,光驱位改放机械硬盘
帮助命令
文件搜索命令
命令基本格式及文件处理命令
Jupyter Notebook出现kernel error情况
八、数据拟合分析seaborn
Scrapy中的错误
(续篇)Selenium 安装配置以及如何解决('chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/ch)或者(unknown error:cannot find Chrome binary)问题?
如何安装selenium以及scrapy,最重要的是pip?
五、SVM推导过程
-
原文地址:https://www.cnblogs.com/qinse/p/4316213.html
Copyright © 2020-2023
润新知