摘要: function obj2str(o) { var r = []; if (typeof o == "string") return "\"" + o.replace(/([\'\"\\])/g, "\\$1").replace(/(\n)/g, "\\... 阅读全文
posted @ 2014-07-28 11:42 xjt360 阅读(151) 评论(0) 推荐(0) 编辑
摘要: columns: [[{ field: 'id', title: '删除', width: 30, formatter: function (value,row,index) { var d = ''; ... 阅读全文
posted @ 2014-07-28 11:41 xjt360 阅读(140) 评论(0) 推荐(0) 编辑