3 Roo.example = Roo.example || {};
5 Roo.example.TabPanelCombobox = new Roo.XComponent({
6 part : ["layout","viewpanel"],
7 order : '001-viewpanel',
10 name : "unnamed module",
17 el : new Roo.bootstrap.Body()
19 this.parent.el.layout = false;
20 this.parent.el.render(document.body);
24 var baseURL = '/web.eventmanager/demo.local.php';
34 style : 'margin-top:100px',
43 cls : 'container alpha',
51 xtype : 'NavSimplebar',
60 render : function (_self)
62 _this.navGroup = this;
69 preventDefault : true,
74 render : function (_self)
84 preventDefault : true,
89 render : function (_self)
104 style : 'margin-top:20px;',
119 html : 'First TabPanel With ComboBox',
139 placeholder : 'Select a country',
140 displayField : 'name',
141 hiddenName : 'country_id',
144 name : 'country_id_name',
145 triggerAction : 'all',
147 tpl : '<li class="select2-result"><b>{name}</b></div>',
149 style : 'margin-top:20px;',
152 render : function (_self) {
153 _this.normalSel = _self;
156 forceSelection : true,
158 queryParam : 'query[name]',
162 fieldLabel : 'Country Normal',
169 beforeload : function (_self, o) {
170 o.params = o.params || {};
175 sortInfo : { direction : 'ASC', field: 'name' },
179 url : baseURL + '/Geoip/Core_geoip_country',
223 html : 'Second TabPanel With ComboBox',
238 placeholder : 'Select a country',
239 displayField : 'name',
240 hiddenName : 'country_id',
243 name : 'country_id_name',
244 triggerAction : 'all',
246 // tpl : '<li class="select2-result"><b>{name}</b></div>',
247 style : 'margin-top:20px;',
251 render : function (_self) {
252 _this.tickableSel = _self;
255 forceSelection : true,
257 queryParam : 'query[name]',
261 fieldLabel : 'Country With Tickable',
268 beforeload : function (_self, o) {
269 o.params = o.params || {};
274 sortInfo : { direction : 'ASC', field: 'name' },
278 url : baseURL + '/Geoip/Core_geoip_country',