examples/form/dynamic.js
authorAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 10:08:00 +0000 (18:08 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 10:08:00 +0000 (18:08 +0800)
examples/form/dynamic.js

index 4a9b8dc..5792eda 100644 (file)
@@ -520,50 +520,10 @@ Roo.onReady(function(){
             
                 xtype: 'TimePicker',
                 xns : Roo.ux,
-               fieldLabel: 'A checkbox',
-                boxLabel:'RooJS v1.1.1',
-                name:'extuser',
-                inputValue : '1',
-                value : '1',
-                width:'auto'
-            },
-            {
-                xtype : 'DisplayField',
-                xns : Roo.form,
-                name:'textex',
-                fieldLabel: 'Simple',
-                value : 'example text'
-            } ,
-            {
-                xtype: 'ComboBox',
-                xns : Roo.form,
-                fieldLabel: 'State',
-                hiddenName:'state',
-                store: {
-                    xtype: 'SimpleStore',
-                    xns : Roo.data,
-                    fields: ['abbr', 'state'],
-                    data : Roo.exampledata.states // from states.js
-                },
-                displayField:'state',
-                typeAhead: true,
-                mode: 'local',
-                triggerAction: 'all',
-                emptyText:'Select a state...',
-                selectOnFocus:true,
-                width:190,
-                listeners : {
-                    add : function()
-                    {
-                        Roo.MessageBox.alert("Alert", "Add Pressed");
-                    },
-                    edit : function()
-                    {
-                        Roo.MessageBox.alert("Alert", "Edit Pressed");
-                    }
-                    
-                }
+                fieldLabel: 'test time picker',
+                
             },
+             
         
         ]
     });