cell-editing.html 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Cell Editing Grid Example</title>
  5. <!-- Use the scoped CSS stylesheet. This is in conjunction with setting Ext.scopeResetCSS = true in app init code -->
  6. <script>
  7. // use the scoped CSS stylesheet if the url has a scopecss parameter
  8. document.write('<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all' +
  9. ((window.location.search.indexOf('scopecss') === -1) ? '' : '-scoped') + '.css" />');
  10. </script>
  11. <link rel="stylesheet" type="text/css" href="../shared/example.css" />
  12. <link rel="stylesheet" type="text/css" href="../ux/css/CheckHeader.css" />
  13. <!-- GC -->
  14. <script type="text/javascript" src="../../ext-all.js"></script>
  15. <script type="text/javascript" src="cell-editing.js"></script>
  16. </head>
  17. <body>
  18. <h1>Cell Editing Grid Example</h1>
  19. <ul>
  20. <li>This example shows how to enable users to edit the contents of a grid.</li>
  21. <li>Note that the js is not minified so it is readable. See <a href="cell-editing.js">cell-editing.js</a>.</li>
  22. <li>This example also illustrates how to scope ExtJS's CSS reset to only encapsulate each ExtJS Component rendered into a page to avoid interference with existing themes.</li>
  23. <li>Note how this unordered list retains default styling while the unordered list in the "Light" dropdown is styled as a picker.</li>
  24. </ul>
  25. <div id="editor-grid"></div>
  26. </body>
  27. </html>