You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
3 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Basic TreeGrid - 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>Basic TreeGrid</h2>
|
||
|
<p>TreeGrid allows you to expand or collapse group rows.</p>
|
||
|
<div style="margin:20px 0;"></div>
|
||
|
<table title="Folder Browser" class="easyui-treegrid" style="width:700px;height:250px"
|
||
|
data-options="
|
||
|
url: 'treegrid_data1.json',
|
||
|
method: 'get',
|
||
|
rownumbers: true,
|
||
|
idField: 'id',
|
||
|
treeField: 'name'
|
||
|
">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th data-options="field:'name'" width="220">Name</th>
|
||
|
<th data-options="field:'size'" width="100" align="right">Size</th>
|
||
|
<th data-options="field:'date'" width="150">Modified Date</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|