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.

34 lines
1.1 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js">// private
  19. // This is a support class used internally by the Grid components
  20. Ext.grid.GridEditor = function(field, config){
  21. Ext.grid.GridEditor.superclass.constructor.call(this, field, config);
  22. field.monitorTab = false;
  23. };
  24. Ext.extend(Ext.grid.GridEditor, Ext.Editor, {
  25. alignment: &quot;tl-tl&quot;,
  26. autoSize: &quot;width&quot;,
  27. hideEl : false,
  28. cls: &quot;x-small-editor x-grid-editor&quot;,
  29. shim:false,
  30. shadow:false
  31. });</pre>
  32. </body>
  33. </html>