Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / source / FieldSet2.html
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"><span id='Ext-layout-component-FieldSet'>/**
19 </span> * Component layout for Ext.form.FieldSet components
20  * @class Ext.layout.component.FieldSet
21  * @extends Ext.layout.component.Body
22  * @private
23  */
24 Ext.define('Ext.layout.component.FieldSet', {
25     extend: 'Ext.layout.component.Body',
26     alias: ['layout.fieldset'],
27
28     type: 'fieldset',
29
30     doContainerLayout: function() {
31         // Prevent layout/rendering of children if the fieldset is collapsed
32         if (!this.owner.collapsed) {
33             this.callParent();
34         }
35     }
36 });</pre>
37 </body>
38 </html>