摘要: table { width:98%; margin:10px 0 10px 10px;}table .title { color:Black; font-weight: bold; }table tr { line-height: 30px; }table td { min-width: 60px;}table .odd { background-color: #fff;}table .even { background-color: #e3e3e3;}table .odd:hover, table .even:hover { background-color: #cdcdcd; }table 阅读全文
posted @ 2013-04-09 20:54 叶城宇 阅读(174) 评论(0) 推荐(0) 编辑
摘要: jQuery.fn.JsonToTable = function(json, title, editable, isPaged) { var Obj; //存储json数据 var Title = title; //表格的列名数组 var Editable = editable; //列是否可编辑数组 var TableHtml = ''; //表格html代码 var PAGE_SIZE = 10; //每页显示的行数 var totalRowNum = 0; //总的行数 var i; if ((typeof(JSON) == "undefined")) 阅读全文
posted @ 2013-04-09 20:43 叶城宇 阅读(213) 评论(0) 推荐(0) 编辑