上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页
摘要: function MergeCells(seletor, rows, fields) { if(rows == null || rows.length == 0 || fields == null || fields.length == 0) { return; } var rowCount = 1 阅读全文
posted @ 2016-09-27 10:13 芜明-追星 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 获取数据方法一: $('#countUnit').combobox({ data:com_countUnit, editable:false, cache: false, panelHeight: 'auto', valueField:'id', textField:'text', multiple 阅读全文
posted @ 2016-09-27 10:08 芜明-追星 阅读(130) 评论(0) 推荐(0) 编辑
摘要: datagrid 1.获取某行的行号(row)tdg.datagrid('getRowIndex',rows)2.通过行号移除该行tdg.datagrid('deleteRow',index)3.获取数据集tdg.datagrid('getData').rows4.根据坐标删除rowtdg.data 阅读全文
posted @ 2016-09-27 10:08 芜明-追星 阅读(358) 评论(0) 推荐(0) 编辑
摘要: datagrid 1.获取某行的行号(row)tdg.datagrid('getRowIndex',rows)2.通过行号移除该行tdg.datagrid('deleteRow',index)3.获取数据集tdg.datagrid('getData').rows4.根据坐标删除rowtdg.data 阅读全文
posted @ 2016-09-27 10:07 芜明-追星 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 一.前端框架使用的easyui框架 二.后端使用的是jfinal 三.效果图 四.html代码 五.js代码 六:后台实现 1> sql 2>实现方法 3>model 阅读全文
posted @ 2016-09-27 10:06 芜明-追星 阅读(2044) 评论(0) 推荐(0) 编辑
摘要: 效果图: html 阅读全文
posted @ 2016-09-27 10:05 芜明-追星 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1.问题描述 easyui 编辑表格新增一条数据后,删除最后一行删除不了,原因是没有提交数据acceptChanges。 源码中deleteRow方法,根据坐标获取行html,方法为opts.finder.getTr(_7cb,_7cc).remove()。 如id="datagrid-row-r4 阅读全文
posted @ 2016-09-27 10:04 芜明-追星 阅读(455) 评论(0) 推荐(0) 编辑
摘要: JS: //合并相同数据的单元格 function MergeCells(seletor, rows, fields) { if(rows == null || rows.length == 0 || fields == null || fields.length == 0) { return; } 阅读全文
posted @ 2016-09-27 10:00 芜明-追星 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 一.autoMergeCellAndCells实现效果 调用方法: function onLoadSuccess(data){ $(this).datagrid("autoMergeCellAndCells",['productid','productname']); } //所有列进行合并操作// 阅读全文
posted @ 2016-09-27 09:59 芜明-追星 阅读(2395) 评论(0) 推荐(1) 编辑
摘要: /** * author ____′↘夏悸 * create date 2012-11-5 **/$.extend($.fn.datagrid.methods, { autoMergeCells : function (jq, fields) { return jq.each(function () 阅读全文
posted @ 2016-09-27 09:55 芜明-追星 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页