Web Interface For Lite Argus Control modules
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.

50 lines
1.7 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>Form with embedded Grid</title>
  6. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>
  7. <!-- GC -->
  8. <!-- LIBS -->
  9. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  10. <!-- ENDLIBS -->
  11. <script type="text/javascript" src="../../ext-all-debug.js"></script>
  12. <script type="text/javascript" src="form-grid.js"></script>
  13. <link rel="stylesheet" type="text/css" href="forms.css"/>
  14. <!-- Common Styles for the examples -->
  15. <link rel="stylesheet" type="text/css" href="../shared/examples.css"/>
  16. <style type="text/css">
  17. p {
  18. width: 750px;
  19. }
  20. .ext-ie .x-form-check-wrap, .ext-gecko .x-form-check-wrap {
  21. padding-top: 3px;
  22. }
  23. fieldset legend {
  24. white-space: nowrap;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <script type="text/javascript" src="../shared/examples.js"></script>
  30. <!-- EXAMPLES -->
  31. <h1>Dynamic Form interacting with an embedded Grid</h1>
  32. <p>
  33. This Form demonstrates the fact that by virtue of inheriting from the Ext <b><tt>Container</tt></b>
  34. class, an Ext.form.FormPanel can contain any Ext <b><tt>Component</tt></b>. This includes all the
  35. subclasses of Ext.Panel, including the GridPanel.
  36. </p>
  37. <p>
  38. The Grid demonstrates the use of creation of derived fields in a Record created using a custom
  39. <b><tt>convert</tt></b> function, and the use of column renderers.
  40. </p>
  41. <p>
  42. The Form demonstrates the use of radio buttons grouped by name being set by the value of the derived
  43. 'rating' field.
  44. </p>
  45. </body>
  46. </html>