basic.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic 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>Basic ComboTreeGrid</h2>
  14. <p>Click the right arrow button to show the TreeGrid.</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 Item:',
  22. labelPosition:'top',
  23. url:'treegrid_data1.json',
  24. idField:'id',
  25. treeField:'name',
  26. columns:[[
  27. {field:'name',title:'Name',width:200},
  28. {field:'size',title:'Size',width:100},
  29. {field:'date',title:'Date',width:100}
  30. ]]">
  31. </div>
  32. </div>
  33. </body>
  34. </html>