zoukankan      html  css  js  c++  java
  • 数据表格datagrid内容整理

    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>数据表格</title>
    
    <script type="text/javascript" src="js/jquery-easyui-1.4.4/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.4.4/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.4.4/themes/icon.css">
    <script type="text/javascript" src="js/jquery-easyui-1.4.4/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/jquery-easyui-1.4.4/locale/easyui-lang-zh_CN.js"></script>
    
    <script>
    
    $(function(){
        
    })
    
    </script>
    
    </head>
    <body>
    
    <table id="mydatagrid" class="easyui-datagrid" style="100%;height:200px" 
    data-options="collapsible:true,singleSelect:true,url:'MembersList?parentid=0',method:'get',title:'地区列表'"
    >
        <thead>
        <tr>
            <th data-options="field:'id',80">ID</th>
            <th data-options="field:'parentid',80">父ID</th>
            <th data-options="field:'name',80">地区名</th>
            <th data-options="field:'postcode',80">邮编</th>
        </tr>
        </thead>
    </table>
    
    </body>
    </html>

  • 相关阅读:
    c#委托与事件
    c#垃圾回收与资源管理
    c#接口、抽象类
    c#集合类、ArrayList、queue
    c#位运算
    c#索引器
    c#使用属性封装
    c#继承
    c#数组参数
    Lambda表达式
  • 原文地址:https://www.cnblogs.com/shadowduke/p/5087526.html
Copyright © 2011-2022 走看看