jquery.fancytree
Version:
Fancytree is a JavaScript tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.
57 lines (51 loc) • 1.53 kB
HTML
<html>
<head>
<title>Fancytree benchmarks</title>
<script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<link href="../../lib/qunit.css" rel="stylesheet" media="screen" />
<script src="../../lib/qunit.js"></script>
<link href="../../src/skin-win8/ui.fancytree.css" rel="stylesheet">
<script src="../../src/jquery.fancytree.js"></script>
<script src="../../src/jquery.fancytree.table.js"></script>
<script src="test-tools.js"></script>
<script src="test-bench.js"></script>
<style type="text/css">
table#tabletree {
width: 100%;
border-collapse: collapse;
}
table#tabletree td{
border: 1px solid gray;
}
</style>
</head>
<body>
<h1 id="qunit-header">Fancytree bencharks</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>
<hr />
<div id="tree"></div>
<hr />
<!-- Add a <table> element where the tree should appear: -->
<table id="tabletree">
<colgroup>
<col width="50px"></col>
<col width="*"></col>
<col width="20px"></col>
<col width="20px"></col>
<col width="200px"></col>
<col width="150px"></col>
</colgroup>
<thead>
<tr> <th>#idx</th> <th>Node</th> <th>span</th> <th>icon</th> <th>text</th> <th>input</th> </tr>
</thead>
<tbody>
</tbody>
</table>
</body>
</html>