X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/form/combos.html diff --git a/examples/form/combos.html b/examples/form/combos.html index e96a7a4b..21ab1799 100644 --- a/examples/form/combos.html +++ b/examples/form/combos.html @@ -38,7 +38,7 @@ The combo box can use any type of Ext.data.Store as its data source.
// simple array store
-var store = new Ext.data.SimpleStore({
+var store = new Ext.data.ArrayStore({
     fields: ['abbr', 'state'],
     data : exampleData
 });
@@ -65,7 +65,7 @@ var combo = new Ext.form.ComboBox({
 
// simple array store
-var store = new Ext.data.SimpleStore({
+var store = new Ext.data.ArrayStore({
     fields: ['abbr', 'state', 'nick'],
     data : exampleData
 });
@@ -85,7 +85,7 @@ var comboWithTooltip = new Ext.form.ComboBox({
 
 

The combo box can also use plain array data directly as its data source, wrapping the array internally -with a SimpleStore as needed. You can pass a 1-dimensional or multi-dimensional array as the store config:

+with a ArrayStore as needed. You can pass a 1-dimensional or multi-dimensional array as the store config: