multiple.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Multiple ComboTreeGrid - 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 ComboTreeGrid</h2>
  14. <p>Click the right arrow button to show the TreeGrid and select items.</p>
  15. <div style="margin:20px 0"></div>
  16. <div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
  17. <div style="margin-bottom:20px">
  18. <input class="easyui-combotreegrid" data-options="
  19. width:'100%',
  20. panelWidth:500,
  21. label:'Select Items:',
  22. labelPosition:'top',
  23. url:'treegrid_data1.json',
  24. idField:'id',
  25. treeField:'name',
  26. multiple:true,
  27. value:['211','31'],
  28. columns:[[
  29. {field:'name',title:'Name',width:200},
  30. {field:'size',title:'Size',width:100},
  31. {field:'date',title:'Date',width:100}
  32. ]]">
  33. </div>
  34. </div>
  35. </body>
  36. </html>