导航

2012年4月29日

摘要: 拷贝jqGrid表格,实现导出Excel //导出报表 var ExportTable= function (title, flag, tableId, isAddedFoot) { try { var $curTb = null; if (flag != '') { $curTb = $("#" + flag + "_" + tableId); } else { $curTb = $("#" + tableId); } var curTbl = $curTb[0]; var Lenc = curTbl.rows(0) 阅读全文

posted @ 2012-04-29 11:19 半径 阅读(4755) 评论(0) 推荐(1)

摘要: 最近几年的项目都在使用jquery+jqGrid。摘下项目中应用的片段。 $("#procInfoList").jqGrid({ url: '../Handle/ProjectInfo.ashx', datatype: "json", height: 150, width: outWidth, rowNum: 20, rowList: [10, 20, 30, 50, 100], colNames: ['名称', '名称简写', '主/承办单位', '部门', '经办 阅读全文

posted @ 2012-04-29 10:25 半径 阅读(796) 评论(0) 推荐(0)