81,091
社区成员
发帖
与我相关
我的任务
分享
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" type="text/css"
href="/MerchantInfo/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css"
href="/MerchantInfo/easyui/themes/default/easyui.css">
<script type="text/javascript"
src="/MerchantInfo/easyui/jquery-1.4.4.min.js"></script>
<script type="text/javascript"
src="/MerchantInfo/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
$('#feedback').datagrid({
title : "用户反馈 - 所有",
width : "auto",
striped : true,
singleSelect : true,
loadMsg : "正在加载,请稍等...",
url : "feedback_data.json",
pagination : true,
rownumbers : true,
pageList : [ 5, 10, 15, 20 ],
pageSize : 10,
idField:"id",
columns:[[
{title:"发送人",field:"user",width:"180",align:"center"} ,
{title:"反馈内容",field:"title",width:"300",align:"center"},
{title:"时间",field:"sendTime",width:"300",align:"center"}
]]
});
</script>
</head>
<body>
<table id="feedback"></table>
</body>
</html>
{
"total":10,
"rows":[
{"id":"001","user":"ok","title":"这款软件我非常满意","sendTime":"2012年1月1日 15:40"},
{"id":"002","user":"zs","title":"I think so good","sendTime":"2012年1月1日 15:40"},
{"id":"003","user":"zs","title":"这款软件我非常满意","sendTime":"2012年1月1日 15:40"},
{"id":"004","user":"zs","title":"I think so good","sendTime":"2012年1月1日 15:40"},
{"id":"005","user":"zs","title":"这款软件我非常满意","sendTime":"2012年1月1日 15:40"},
{"id":"006","user":"zs","title":"I think so good","sendTime":"2012年1月1日 15:40"},
{"id":"007","user":"zs","title":"这款软件我非常满意","sendTime":"2012年1月1日 15:40"},
{"id":"008","user":"zs","title":"I think so good","sendTime":"2012年1月1日 15:40"},
{"id":"009","user":"zs","title":"这款软件我非常满意","sendTime":"2012年1月1日 15:40"},
{"id":"010","user":"zs","title":"I think so good","sendTime":"2012年1月1日 15:40"}
]
}