简要咨询咨询QQ网站导航网站搜索手机站点联系我们设为首页加入收藏 

jQuery组件easyui基本布局实现代码

来源:易贤网   阅读:901 次  日期:2016-08-30 14:17:20

温馨提示:易贤网小编为您整理了“jQuery组件easyui基本布局实现代码”,方便广大网友查阅!

这篇文章主要为大家详细介绍了jQuery easyui基本布局实现代码,具有一定的参考价值,感兴趣的小伙伴们可以参考一下

<!DOCTYPE html>

<html>

<head>

 <meta charset="UTF-8">

 <title>Basic Layout - jQuery EasyUI Demo</title>

 <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">

 <link rel="stylesheet" type="text/css" href="../themes/icon.css">

 <link rel="stylesheet" type="text/css" href="demo.css">

 <script type="text/javascript" src="../jquery.min.js"></script>

 <script type="text/javascript" src="../jquery.easyui.min.js"></script>

</head>

<body>

 <h2>基本布局</h2>

 <p>布局包括北,南,东,西,中间,部分</p>

 <div style="margin:20px 0;"></div>

 <div class="easyui-layout" style="width:700px;height:350px;">

 <div data-options="region:'north'" style="height:50px"></div>

 <div data-options="region:'south',split:true" style="height:50px;"></div>

 <div data-options="region:'east',split:true" title="东" style="width:100px;"></div>

 <div data-options="region:'west',split:true" title="西" style="width:100px;"></div>

 <div data-options="region:'center',title:'Main Title',iconCls:'icon-ok'">

  <table class="easyui-datagrid"

   data-options="url:'datagrid_data1.json',method:'get',border:false,singleSelect:true,fit:true,fitColumns:true">

  <thead>

   <tr>

   <th data-options="field:'itemid'" width="80">Item ID</th>

   <th data-options="field:'productid'" width="100">Product ID</th>

   <th data-options="field:'listprice',align:'right'" width="80">List Price</th>

   <th data-options="field:'unitcost',align:'right'" width="80">Unit Cost</th>

   <th data-options="field:'attr1'" width="150">Attribute</th>

   <th data-options="field:'status',align:'center'" width="60">Status</th>

   </tr>

  </thead>

  </table>

 </div>

 </div>

</body>

</html>

以上就是本文的全部内容,希望对大家的学习有所帮助

更多信息请查看网络编程
点此处就本文及相关问题在本站进行非正式的简要咨询(便捷快速)】     【点此处查询各地各类考试咨询QQ号码及交流群
上一篇:jQuery组件easyui对话框实现代码
下一篇:select隐藏选中值对应的id,显示其它id的简单实现方法
易贤网手机网站地址:jQuery组件easyui基本布局实现代码
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!