examples/form/combocheck.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 06:17:46 +0000 (14:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 2 Sep 2011 06:17:46 +0000 (14:17 +0800)
examples/form/combocheck.js

index 8eb8d65..7c8f470 100644 (file)
@@ -32,7 +32,7 @@ Roo.onReady(function(){
                 valueField : 'abbr',
                 displayField:'state',
                 
-                value : '["CA","CO","DE","HI","FL","CT","AZ"]',
+             
                 store: {
                     xns : Roo.data,
                     xtype : 'SimpleStore',
@@ -56,4 +56,12 @@ Roo.onReady(function(){
 
     mform.render('form-ct5');
     combo = mform.findField('states');
+    mform.setValues({
+        states : '["AK","AZ"]',
+        states_list : "Alaska, Arizona"
+        
+        
+    })
+    
+    
 });
\ No newline at end of file