Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / tree / check-tree.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
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" />
8
9     <script type="text/javascript" src="../../bootstrap.js"></script>
10     <script type="text/javascript" src="check-tree.js"></script>
11     
12     <style>
13         .x-tree-checked .x-grid-cell-inner {
14             font-style: italic;
15             color: #777;
16         }
17         .x-grid-row-selected .x-grid-cell {
18             background-color: #efefef !important;
19         }
20     </style>
21 </head>
22 <body>
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>
29
30     <div id="tree-div"></div>
31 </body>
32 </html>