- 9
- 0
- 约8.51千字
- 约 6页
- 2017-06-11 发布于北京
- 举报
/*
* jQuery tui tablespan plugin 0.2
*
* Copyright (c) 2010 china yewf
*
* Dual licensed under the MIT and GPL licenses:
* /licenses/mit-license.php
* /licenses/gpl.html
*
* Create: 2010-09-16 10:34:51 yewf $
* Revision: $Id: tui.tablespan.js 2010-09-21 10:08:36 yewf $
*
* Table rows or cols span
*/
/* 行合并。索引从0开始,包含隐藏列,注意jqgrid的自动序号列也是一列。
使用方法:
$(#jqGridId).tuiTableRowSpan(3, 4, 8);
*/
jQuery.fn.tuiTableRowSpan = function(colIndexs) {
return this.each(function() {
var indexs = eval(([ + colIndexs + ]));
for (var i = 0; i indexs.length; i++) {
var colId
原创力文档

文档评论(0)