X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..e9397f91ede62d446aed37d23256e8938fc4c335:/examples/form/combos.html?ds=sidebyside 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: