examples/form/nestedcombo.js
[roojs1] / examples / form / nestedcombo.js
index 6cd426d..95cea8d 100644 (file)
@@ -25,13 +25,17 @@ Roo.onReady(function(){
         ['D', 'D states', [
             ['DE', 'Delaware'],
             ['DC', 'District of Columbia']
-        ]]
+        ]],
         ['I', 'I states', [
         
             ['ID', 'Idaho'],
             ['IL', 'Illinois'],
             ['IN', 'Indiana'],
-            ['IA', 'Iowa']
+            ['IA', 'Iowa'],
+            ['IDA', 'Idaho'],
+            ['ILA', 'Illinois'],
+            ['INA', 'Indiana'],
+            ['IAA', 'Iowa']
         ]]
     ];
     /*
@@ -63,7 +67,7 @@ Roo.onReady(function(){
                     data : sampledata// from states.js
                    
                 },
-                
+                listWidth: 300,
                 typeAhead: true,
                 mode: 'local',
                 triggerAction: 'all',