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',
224 html : 'Second TabPanel With ComboBox',
239 placeholder : 'Select a country',
240 displayField : 'name',
241 hiddenName : 'country_id',
244 name : 'country_id_name',
245 triggerAction : 'all',
247 // tpl : '<li class="select2-result"><b>{name}</b></div>',
248 style : 'margin-top:20px;',
252 render : function (_self) {
253 _this.tickableSel = _self;
256 forceSelection : true,
258 queryParam : 'query[name]',
262 fieldLabel : 'Country With Tickable',
269 beforeload : function (_self, o) {
270 o.params = o.params || {};
275 sortInfo : { direction : 'ASC', field: 'name' },
279 url : baseURL + '/Geoip/Core_geoip_country',