X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/spinner.html diff --git a/docs/source/spinner.html b/docs/source/spinner.html new file mode 100644 index 00000000..736a5658 --- /dev/null +++ b/docs/source/spinner.html @@ -0,0 +1,42 @@ + + + The source code + + + + +
Ext.onReady(function(){
+    var simple = new Ext.FormPanel({
+        labelWidth: 40, // label settings here cascade unless overridden
+        frame: true,
+        title: 'Simple Form',
+        bodyStyle: 'padding:5px 5px 0',
+        width: 210,
+        defaults: {width: 135},
+        defaultType: 'textfield',
+
+        items: [
+            new Ext.ux.form.SpinnerField({
+                fieldLabel: 'Age',
+                name: 'age'
+            }),
+            {
+            	xtype: 'spinnerfield',
+            	fieldLabel: 'Test',
+            	name: 'test',
+            	minValue: 0,
+            	maxValue: 100,
+            	allowDecimals: true,
+            	decimalPrecision: 1,
+            	incrementValue: 0.4,
+            	alternateIncrementValue: 2.1,
+            	accelerate: true
+            }
+        ]
+    });
+
+    simple.render('form-ct');
+});
+
+ + \ No newline at end of file