checkbox.html 870 B

12345678910111213141516171819202122232425
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Checkbox in DataList - 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>Checkbox in DataList</h2>
  14. <p>Each item in the DataList has a checkbox.</p>
  15. <div style="margin:20px 0"></div>
  16. <div class="easyui-datalist" title="Checkbox in DataList" style="width:400px;height:250px" data-options="
  17. url: 'datalist_data1.json',
  18. method: 'get',
  19. checkbox: true,
  20. selectOnCheck: false,
  21. onBeforeSelect: function(){return false;}
  22. ">
  23. </div>
  24. </body>
  25. </html>