multiple.html 1.1 KB

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Multiple ComboTree - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Multiple ComboTree</h2>
  14. <p>Click the right arrow button to show the tree panel and select multiple nodes.</p>
  15. <div style="margin:20px 0">
  16. <span>Cascade Check: </span>
  17. <input type="checkbox" checked onclick="$('#cc').combotree({cascadeCheck:$(this).is(':checked')})">
  18. </div>
  19. <div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
  20. <div style="margin-bottom:20px">
  21. <input id="cc" class="easyui-combotree" data-options="url:'tree_data1.json',method:'get',label:'Select Nodes:',labelPosition:'top',multiple:true,value:[122,124]" style="width:100%">
  22. </div>
  23. </div>
  24. </body>
  25. </html>