• ligerUI的ligerGrid表格


    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <link href="./javascripts/ligerUI_v133/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="./javascripts/ligerUI_v133/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />

    <script src="./javascripts/jquery/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="./javascripts/ligerUI_v133/js/core/base.js" type="text/javascript"></script>
    <script src="./javascripts/ligerUI_v133/js/ligerui.min.js" type="text/javascript"></script>
    <script src="./javascripts/json2.js" type="text/javascript"></script>
    <title></title>
    </head>

    <body>
    <div id="maingrid"></div>


    <script type="text/javascript">
    $(function(){

    var griddata = [
    { userid: '001', name: '部门01' },
    { userid: '002', name: '部门01' },
    { userid: '003', name: '部门01' },
    { userid: '004', name: '部门02' },
    { userid: '005', name: '部门02' },
    { userid: '006', name: '部门02' },
    { userid: '007', name: '部门03' }
    ];

    var grid = $("#maingrid").ligerGrid({
    columns: [
    { name: 'userid', display: '序号', 200 },
    { name: 'name', display: '名称', 300 }
    ],
    data: { Rows: griddata }
    });

    })
    </script>
    </body>

    </html>

  • 相关阅读:
    OCP-1Z0-053-200题-77题-654
    OCP-1Z0-053-200题-45题-623
    OCP-1Z0-053-200题-46题-624
    OCP-1Z0-053-200题-48题-626
    OCP-1Z0-053-200题-49题-627
    OCP-1Z0-053-V13.02-619题
    OCP-1Z0-053-200题-43题-678
    OCP-1Z0-053-200题-44题-622
    OCP-1Z0-053-V13.02-512题
    OCP-1Z0-053-200题-38题-617
  • 原文地址:https://www.cnblogs.com/hnzkljq/p/9565894.html
Copyright © 2020-2023  润新知