Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <title>Checkbox TreePanel</title> |
---|
5 | <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> |
---|
6 | |
---|
7 | <!-- GC --> |
---|
8 | <!-- LIBS --> |
---|
9 | <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script> |
---|
10 | <!-- ENDLIBS --> |
---|
11 | |
---|
12 | <script type="text/javascript" src="../../ext-all.js"></script> |
---|
13 | <script type="text/javascript" src="check-tree.js"></script> |
---|
14 | |
---|
15 | <!-- Common Styles for the examples --> |
---|
16 | <link rel="stylesheet" type="text/css" href="../shared/examples.css" /> |
---|
17 | |
---|
18 | <style type="text/css"> |
---|
19 | .complete .x-tree-node-anchor span { |
---|
20 | text-decoration: line-through; |
---|
21 | color: #777; |
---|
22 | } |
---|
23 | </style> |
---|
24 | </head> |
---|
25 | <body> |
---|
26 | <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES --> |
---|
27 | <h1>Checkbox Selection in a TreePanel</h1> |
---|
28 | <p>This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by simply |
---|
29 | setting <tt>checked:true/false</tt> at the node level.</p> |
---|
30 | <p>This example also shows loading an entire tree structure statically in one load call, rather than |
---|
31 | loading each node asynchronously.</p> |
---|
32 | <p>The js is not minified so it is readable. See <a href="check-tree.js">check-tree.js</a>.</p> |
---|
33 | |
---|
34 | <div id="tree-div"></div> |
---|
35 | |
---|
36 | </body> |
---|
37 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.