itcast.crm.ui/EasyUI/demo/datagrid/fluid.html
(完整代码) 1KB<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fluid DataGrid - 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>Fluid DataGrid</h2>
<p>This example shows how to assign percentage width to a column in DataGrid.</p>
<div style="margin:20px 0;"></div>
<table id="dg" class="easyui-datagrid" title="Fluid DataGrid" style="width:700px;height:250px"
data-options="singleSelect:true,collapsible:true,url:'datagrid_data1.json',method:'get'">
<thead>
<tr>
<th data-options="field:'itemid',resizable:false" width="15%">Item ID(15%)</th>
<th data-options="field:'productid',resizable:false" width="15%">Product(15%)</th>
<th data-options="field:'listprice',align:'right',resizable:false" width="15%">List Price(15%)</th>
<th data-options="field:'unitcost',align:'right',resizable:false" width="15%">Unit Cost(15%)</th>
<th data-options="field:'attr1',resizable:false" width="25%">Attribute(25%)</th>
<th data-options="field:'status',align:'center',resizable:false" width="15%">Status(15%)</th>
</tr>
</thead>
</table>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
