jQuery组件easyui基本布局实现代码
jQuery组件easyui基本布局实现代码
发布时间:2016-12-30 来源:查字典编辑
摘要:本文实例为大家分享了BasicLayout-jQueryEasyUIDemo基本布局布局包括北,南,东,西,中间,部分ItemIDProdu...

本文实例为大家分享了

<!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></div> <div> <div data-options="region:'north'"></div> <div data-options="region:'south',split:true"></div> <div data-options="region:'east',split:true" title="东"></div> <div data-options="region:'west',split:true" title="西"></div> <div data-options="region:'center',title:'Main Title',iconCls:'icon-ok'"> <table 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>

效果图:

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

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持查字典教程网。

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Javascript教程学习
热门Javascript教程学习
编程开发子分类