examples/bootstrap/TabPanel-ComboBox.js
authorAlan Knowles <alan@roojs.com>
Tue, 4 Dec 2018 08:40:29 +0000 (16:40 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 4 Dec 2018 08:40:29 +0000 (16:40 +0800)
examples/bootstrap/TabPanel-ComboBox.js

index 4422837..fcf30fd 100644 (file)
@@ -183,11 +183,11 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                                     }
                                                                                                 },
                                                                                                 remoteSort : true,
-                                                                                                sortInfo : { direction : 'ASC', field: 'name' },
+                                                                                                sortInfo : { direction : 'ASC', field: 'title' },
                                                                                                 proxy : {
                                                                                                     xtype: 'HttpProxy',
                                                                                                     xns: Roo.data,
-                                                                                                    url : baseURL + '/Geoip/Core_geoip_country',
+                                                                                                    url : './data.country.js',
                                                                                                     method : 'GET'
                                                                                                 },
                                                                                                 reader : {
@@ -203,7 +203,7 @@ Roo.example.TabPanelCombobox = new Roo.XComponent({
                                                                                                             'type': 'string'
                                                                                                         },
                                                                                                         {
-                                                                                                            'name': 'name',
+                                                                                                            'name': 'title',
                                                                                                             'type': 'string'
                                                                                                         }
                                                                                                     ]