Web Interface For Lite Argus Control modules
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.

37 lines
1.3 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="check-tree.js"></script>
  12. <!-- Common Styles for the examples -->
  13. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  14. <style type="text/css">
  15. .complete .x-tree-node-anchor span {
  16. text-decoration: line-through;
  17. color: #777;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  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. <div id="tree-div"></div>
  30. </body>
  31. </html>