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

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Basic Layout - jQuery EasyUI Demo</title> <link type="text/css" href="https://www.jb51.net/themes/default/easyui.css"> <link type="text/css" href="https://www.jb51.net/themes/icon.css"> <link type="text/css" href="https://www.jb51.net/demo.css"> <script type="text/javascript" src="https://www.jb51.net/jquery.min.js"></script> <script type="text/javascript" src="https://www.jb51.net/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'">Item ID</th> <th data-options="field:'productid'">Product ID</th> <th data-options="field:'listprice',align:'right'">List Price</th> <th data-options="field:'unitcost',align:'right'">Unit Cost</th> <th data-options="field:'attr1'">Attribute</th> <th data-options="field:'status',align:'center'">Status</th> </tr> </thead> </table> </div> </div> </body> </html>

效果图:

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzfxyf.html