Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / examples / form / form-grid-access.html
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     <link rel="stylesheet" type="text/css" href="../../resources/css/xtheme-access.css" />
8
9     <!-- GC -->
10     <!-- LIBS -->
11     <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
12     <!-- ENDLIBS -->
13
14     <script type="text/javascript" src="../../ext-all-debug.js"></script>
15
16     <script type="text/javascript" src="form-grid-access.js"></script>
17     <link rel="stylesheet" type="text/css" href="forms.css"/>
18
19     <!-- Common Styles for the examples -->
20     <link rel="stylesheet" type="text/css" href="../shared/examples.css"/>
21     <style type="text/css">
22         body > h1, body > p {
23             color: black;
24             width: 750px;
25         }
26         
27         .ext-ie .x-form-check-wrap, .ext-gecko .x-form-check-wrap {
28             padding-top: 3px;
29         }
30         fieldset legend {
31             white-space: nowrap;
32         }
33         
34         .x-fieldset legend,
35         .x-panel-tl .x-panel-header {
36             color: #fff;
37         }
38         
39         .x-grid3-row-over {
40             background-image: none;
41         }
42     </style>
43 </head>
44 <body>
45 <script type="text/javascript" src="../shared/examples.js"></script>
46 <!-- EXAMPLES -->
47 <h1>Dynamic Form interacting with an Embedded Grid</h1>
48
49 <p>
50     This Form demonstrates the fact that by virtue of inheriting from the Ext <b><tt>Container</tt></b>
51     class, an Ext.form.FormPanel can contain any Ext <b><tt>Component</tt></b>. This includes all the
52     subclasses of Ext.Panel, including the GridPanel.
53 </p>
54 <p>
55     The Grid demonstrates the use of creation of derived fields in a Record created using a custom
56     <b><tt>convert</tt></b> function, and the use of column renderers.
57 </p>
58 <p>
59     The Form demonstrates the use of radio buttons grouped by name being set by the value of the derived
60     'rating' field.
61 </p>
62 </body>
63 </html>