You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.8 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Editor Grid Example</title>
  5. <!-- ** CSS ** -->
  6. <!-- base library -->
  7. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  8. <!-- overrides to base library -->
  9. <!-- page specific -->
  10. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  11. <link rel="stylesheet" type="text/css" href="grid-examples.css" />
  12. <style type="text/css">
  13. </style>
  14. <!-- ** Javascript ** -->
  15. <!-- ExtJS library: base/adapter -->
  16. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  17. <!-- ExtJS library: all widgets -->
  18. <script type="text/javascript" src="../../ext-all.js"></script>
  19. <!-- overrides to base library -->
  20. <!-- extensions -->
  21. <script type="text/javascript" src="../ux/CheckColumn.js"></script>
  22. <!-- page specific -->
  23. <script type="text/javascript" src="../shared/examples.js"></script>
  24. <script type="text/javascript" src="edit-grid.js"></script>
  25. </head>
  26. <body>
  27. <h1>Editor Grid Example</h1>
  28. <p>This example shows how to create a grid with inline editing.</p>
  29. <p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>
  30. <p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>
  31. <!-- the custom editor for the 'Light' column references the id="light" -->
  32. <select name="light" id="light" style="display: none;">
  33. <option value="Shade">Shade</option>
  34. <option value="Mostly Shady">Mostly Shady</option>
  35. <option value="Sun or Shade">Sun or Shade</option>
  36. <option value="Mostly Sunny">Mostly Sunny</option>
  37. <option value="Sunny">Sunny</option>
  38. </select>
  39. <div id="editor-grid"></div>
  40. </body>
  41. </html>