- 博客(6)
- 收藏
- 关注
原创 easyui editor 为datagrid的单元格添加点击事件,并返回列名
直接付源码: $("#dg").datagrid('beginEdit', index); var eds = $('#dg').datagrid('getEditors',gcosEditRow); for (var i = 0; i < eds.length; i++) { $(eds[i].target).textbox('textbox').bind('click',fun...
2018-10-12 16:59:31
1788
转载 阿里云轻量服务器putty配置
百度下载putty 付链接:https://putty.en.softonic.com/download 安装过程略过阿里云控制台: 付官方文档(很详细) https://help.aliyun.com/document_detail/59083.html?spm=5176.10173289.107.1.73ee2e77Rk5hDi#windows...
2018-08-01 23:08:06
839
原创 js 实现replaceAll 功能
直接付源码:baseReplace : function (str,oldValue,newValue){ var reg=new RegExp(oldValue,"g"); //创建正则RegExp对象 return str.replace(reg,newValue); }
2018-08-01 11:26:55
188
原创 easyui-combotree 下拉树禁用父节点选中
直接付源码:nodeIsLeaf:function(node){ //返回树对象 var tree = $(this).tree; //选中的节点是否为叶子节点,如果不是叶子节点,清除选中 var isLeaf = tree('isLeaf', node.target); if (!isLeaf...
2018-08-01 11:24:52
2343
原创 easyui-datagrid 行【上移】,【下移】
直接源码可以拿来直接使用: 参数说明: index: 行索引 type:‘up’ , ‘down’ gridname: datagrid id sortname: 排序号(如果不需要可以自行删除,但是列表终归要排序的) mysort:function(index, type, gridname,sortname) { if ("up" == type) { ...
2018-08-01 11:21:07
770
原创 easyui-combobox 下拉框【文字+图片】展示
直接附代码:$('#testIcon').combobox({ valueField:'flowEnName', textField:'text', data : template, formatte...
2018-08-01 11:15:22
1511
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅