X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/output/Ext.form.FieldSet.html diff --git a/docs/output/Ext.form.FieldSet.html b/docs/output/Ext.form.FieldSet.html index 638ffe15..10de5cb2 100644 --- a/docs/output/Ext.form.FieldSet.html +++ b/docs/output/Ext.form.FieldSet.html @@ -1,54 +1,54 @@ -
Observable
  Component
    BoxComponent
      Container
        Panel
          FieldSet

Class Ext.form.FieldSet

Package:Ext.form
Defined In:FieldSet.js
Class:FieldSet
Extends:Panel
Standard container used for grouping items within a form. -
var form = new Ext.FormPanel({
-    title: 'Simple Form with FieldSets',
-    labelWidth: 75, // label settings here cascade unless overridden

-    url: 'save-form.php',
-    frame:true,
-    bodyStyle:'padding:5px 5px 0',
-    width: 700,
-    renderTo: document.body,
-    layout:'column', // arrange items in columns

-    defaults: {      // defaults applied to items

-        layout: 'form',
-        border: false,
-        bodyStyle: 'padding:4px'
-    },
-    items: [{
-        // Fieldset in Column 1

-        xtype:'fieldset',
-        columnWidth: 0.5,
-        title: 'Fieldset 1',
-        collapsible: true,
-        autoHeight:true,
-        defaults: {
-            anchor: '-20' // leave room for error icon

-        },
-        defaultType: 'textfield',
-        items :[{
-                fieldLabel: 'Field 1'
-            }, {
-                fieldLabel: 'Field 2'
-            }, {
-                fieldLabel: 'Field 3'
-            }
-        ]
-    },{
-        // Fieldset in Column 2 - Panel inside

-        xtype:'fieldset',
-        title: 'Show Panel', // title, header, or checkboxToggle creates fieldset header

-        autoHeight:true,
-        columnWidth: 0.5,
-        checkboxToggle: true,
-        collapsed: true, // fieldset initially collapsed

-        layout:'anchor',
-        items :[{
-            xtype: 'panel',
-            anchor: '100%',
-            title: 'Panel inside a fieldset',
-            frame: true,
-            height: 100
-        }]
-    }]
+
Observable
  Component
    BoxComponent
      Container
        Panel
          FieldSet

Class Ext.form.FieldSet

Package:Ext.form
Defined In:FieldSet.js
Class:FieldSet
Extends:Panel
Standard container used for grouping items within a form. +
var form = new Ext.FormPanel({
+    title: 'Simple Form with FieldSets',
+    labelWidth: 75, // label settings here cascade unless overridden
+    url: 'save-form.php',
+    frame:true,
+    bodyStyle:'padding:5px 5px 0',
+    width: 700,
+    renderTo: document.body,
+    layout:'column', // arrange items in columns
+    defaults: {      // defaults applied to items
+        layout: 'form',
+        border: false,
+        bodyStyle: 'padding:4px'
+    },
+    items: [{
+        // Fieldset in Column 1
+        xtype:'fieldset',
+        columnWidth: 0.5,
+        title: 'Fieldset 1',
+        collapsible: true,
+        autoHeight:true,
+        defaults: {
+            anchor: '-20' // leave room for error icon
+        },
+        defaultType: 'textfield',
+        items :[{
+                fieldLabel: 'Field 1'
+            }, {
+                fieldLabel: 'Field 2'
+            }, {
+                fieldLabel: 'Field 3'
+            }
+        ]
+    },{
+        // Fieldset in Column 2 - Panel inside
+        xtype:'fieldset',
+        title: 'Show Panel', // title, header, or checkboxToggle creates fieldset header
+        autoHeight:true,
+        columnWidth: 0.5,
+        checkboxToggle: true,
+        collapsed: true, // fieldset initially collapsed
+        layout:'anchor',
+        items :[{
+            xtype: 'panel',
+            anchor: '100%',
+            title: 'Panel inside a fieldset',
+            frame: true,
+            height: 100
+        }]
+    }]
 });

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 animCollapse : Boolean
true to animate the transition when the panel is collapsed, false to skip the +

See Ext.layout.AnchorLayout.anchor also.

BoxComponent
 animCollapse : Boolean
true to animate the transition when the panel is collapsed, false to skip the animation (defaults to false).
FieldSet
 checkboxName : String
The name to assign to the fieldset's checkbox if checkboxToggle = true -(defaults to '[checkbox id]-checkbox').
FieldSet
 checkboxName : String
The name to assign to the fieldset's checkbox if checkboxToggle = true +(defaults to '[checkbox id]-checkbox').
FieldSet
 collapsed : Boolean
true to render the panel collapsed, false to render it expanded (defaults to false).
Panel
 collapsedCls : String
A CSS class to add to the panel's element after it has been collapsed (defaults to -'x-panel-collapsed').
Panel
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By