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>',
148 style : 'margin-top:20px;',
151 render : function (_self) {
152 _this.normalSel = _self;
155 forceSelection : true,
157 queryParam : 'query[name]',
161 fieldLabel : 'Country Normal',
166 beforeload : function (_self, o) {
167 o.params = o.params || {};
172 sortInfo : { direction : 'ASC', field: 'name' },
176 url : baseURL + '/Geoip/Core_geoip_country',
221 html : 'Second TabPanel With ComboBox',
236 placeholder : 'Select a country',
237 displayField : 'name',
238 hiddenName : 'country_id',
241 name : 'country_id_name',
242 triggerAction : 'all',
244 // tpl : '<li class="select2-result"><b>{name}</b></div>',
245 style : 'margin-top:20px;',
249 render : function (_self) {
250 _this.tickableSel = _self;
253 forceSelection : true,
255 queryParam : 'query[name]',
259 fieldLabel : 'Country With Tickable',
266 beforeload : function (_self, o) {
267 o.params = o.params || {};
272 sortInfo : { direction : 'ASC', field: 'name' },
276 url : baseURL + '/Geoip/Core_geoip_country',