1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>Tree Example</title>
6 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
7 <link rel="stylesheet" type="text/css" href="../shared/example.css" />
9 <script type="text/javascript" src="../../bootstrap.js"></script>
10 <script type="text/javascript" src="check-tree.js"></script>
13 .x-tree-checked .x-grid-cell-inner {
17 .x-grid-row-selected .x-grid-cell {
18 background-color: #efefef !important;
23 <h1>Checkbox Selection in a TreePanel</h1>
24 <p>This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by simply
25 setting <tt>checked:true/false</tt> at the node level.</p>
26 <p>This example also shows loading an entire tree structure statically in one load call, rather than
27 loading each node asynchronously.</p>
28 <p>The js is not minified so it is readable. See <a href="check-tree.js">check-tree.js</a>.</p>
30 <div id="tree-div"></div>