JQuery EasyUI 使用数据网格显示json数据(8)

来源:互联网 发布:php极光推送的使用步骤 编辑:程序博客网 时间:2024/06/14 13:50

首先,我们需要新建一个json文件,如图:


代码:

<!DOCTYPE html><html><head>    <meta charset="UTF-8">    <title>Full Layout - jQuery EasyUI Demo</title>    <link rel="stylesheet" type="text/css" href="easyUI/themes/default/easyui.css">    <link rel="stylesheet" type="text/css" href="easyUI/themes/icon.css">    <link rel="stylesheet" type="text/css" href="easyUI/demo/demo.css">    <script type="text/javascript" src="easyUI/jquery.min.js"></script>    <script type="text/javascript" src="easyUI/jquery.easyui.min.js"></script></head><body><table class="easyui-propertygrid" style="width:300px" data-options="url: 'propertygrid_data1.json',method: 'get',showGroup: true,scrollbarSize: 0,"></table></body></html>

如图:



阅读全文
0 0
原创粉丝点击