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