easyui 功能介绍
来源:互联网 发布:unity3d 角色模型下载 编辑:程序博客网 时间:2024/05/16 13:05
最近使用easyui,
下面,我介绍下常用功能:
//绑定Product总类型 $('#gdv_ProductParentType').datagrid({ url: '../api/BindData/GetProductParentType', method: 'get', //默认是post,不允许对静态文件访问 width: '700', rownumbers: true, columns: [[ //绑定操作列 {field:'opt',title:'操作',width:100,align:'center', formatter: function (value, rec, index) { //通过传入PT_ID var s = '<a href="#" title="View" mce_href="#" onclick="view(\'' + rec.PT_ID + '\')"><img class="viewButton"/></a> '; var e = '<a href="#" title="Edit" mce_href="#" onclick="edit(\'' + rec.PT_ID + '\')"><img class="editButton"/></a> '; var d = '<a href="#" title="Delete" mce_href="#" onclick="del(\'' + rec.PT_ID + '\')"><img class="delButton"/></a> '; return s + " " + e + " " + d; } }, //这一列被隐藏了 hidden:true { field: 'PT_ID', title: 'PT_ID' ,hidden:true}, { field: 'PT_Name', title: 'PT_Name' }, { field: 'PT_CreateTime', title: 'PT_CreateTime', //设定时间显示格式 formatter: function (value, row, index) { var dt = new Date(value); return dt.toLocaleDateString(); } } ]], //单击事件 onClickRow: function (index, row) { BindProductChildType(1); }, //工具栏 toolbar:[{ text:'Add',iconCls:'icon-add',handler:function(){ window.location.href='StuAdd.aspx'; } }], singleSelect: false, //允许选择多行 selectOnCheck: true,//true勾选会选择行,false勾选不选择行, 1.3以后有此选项 checkOnSelect: true //true选择行勾选,false选择行不勾选, 1.3以后有此选项 });
0 0
- easyui 功能介绍
- jQuery EasyUI 的EasyLoader功能介绍
- jQuery EasyUI 的EasyLoader功能介绍
- design项目:2、mybatis + easyui datagrid 分页查询功能介绍
- easyui 介绍
- 扩展easyui 功能-datebox
- easyui 分页功能展示
- easyui-分页功能详解
- easyui 翻页跳转功能。
- easyUI 小功能
- easyUI功能扩展
- easyui的强大功能
- jquery easyUI介绍
- EasyUI简单使用介绍
- easyui-1-基本介绍
- easyui属性介绍汇总
- jQuery EasyUI框架介绍
- 实现easyui numberbox 的功能
- R 控制坐标画图参数
- arm中R0-R15寄存器的作用
- POJ3070(矩阵快速幂模板)
- 面试题
- UVA-129 Krypton Factor(dfs)
- easyui 功能介绍
- android应用程序的入口
- Win7远程控制fedora ——通过xrdp
- 对四大浏览器内核的了解
- 【Android UI】自定义圆形SeekBar和自定义Dialog的结合使用
- 线程中断 thread.interrupt()的用法
- HTML参考手册
- java异常处理,目前还是不懂,问题先留在这里,以后再解决
- mangoBD地理位置索引JAVA实战