checkbox.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Cascade CheckBox in TreeGrid - 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>Cascade CheckBox in TreeGrid</h2>
  14. <p>TreeGrid nodes with cascade check boxes.</p>
  15. <div style="margin:20px 0;"></div>
  16. <table title="Folder Browser" class="easyui-treegrid" style="width:700px;height:250px"
  17. data-options="
  18. url: 'treegrid_data1.json',
  19. method: 'get',
  20. checkbox: true,
  21. rownumbers: true,
  22. idField: 'id',
  23. treeField: 'name'
  24. ">
  25. <thead>
  26. <tr>
  27. <th data-options="field:'name'" width="220">Name</th>
  28. <th data-options="field:'size'" width="100" align="right">Size</th>
  29. <th data-options="field:'date'" width="150">Modified Date</th>
  30. </tr>
  31. </thead>
  32. </table>
  33. </body>
  34. </html>