datagrid.jsp 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  4. <html>
  5. <head>
  6. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/js/easyui/themes/gray/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/js/easyui/themes/icon.css">
  8. <script src="<%=request.getContextPath() %>/resource/js/easyui/jquery.min.js" type="text/javascript"></script>
  9. <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/easyui/jquery.easyui.min.js"></script>
  10. </head>
  11. <body>
  12. <div style="margin:20px 0;"></div>
  13. <table id="dg" title="My Users" class="easyui-datagrid" style="width:700px;height:250px"
  14. url="<%=request.getContextPath() %>/wtInfoAjax.action?wpId=NSS_FDC" rownumbers="true"
  15. fitColumns="true" singleSelect="true" pagination="true">
  16. <thead>
  17. <tr>
  18. <th field="id" width="50">id</th>
  19. <th field="name" width="50">name</th>
  20. <th field="modelid" width="50">modelid</th>
  21. </tr>
  22. </thead>
  23. </table>
  24. </body>
  25. </html>