"xtype": "Toolbar",
"|xns": "Roo",
"items": [
+ {
+ "xtype": "ComboBox",
+ "listeners": {
+ "|render": "function (_self)\n{\n _this.modCombo = _self;\n}",
+ "|select": "function (combo, record, index)\n{\n _this.grid.getDataSource().reload(); \n}"
+ },
+ "valueField": "module",
+ "displayField": "module",
+ "width": 200,
+ "typeAhead": false,
+ "editable": false,
+ "mode": "local",
+ "triggerAction": "all",
+ "emptyText": "Select Module",
+ "selectOnFocus": true,
+ "|xns": "Roo.form",
+ "items": [
+ {
+ "*prop": "store",
+ "xtype": "SimpleStore",
+ "|data": "(function() { \n var modlist = []; \n AppModules = typeof(AppModules) == 'undefined' ? '' : AppModules;\n Roo.each( AppModules.split(','), function(mod) { \n modlist.push( [ mod ] ); \n }); \n return modlist;\n })()",
+ "|fields": "['module']",
+ "|xns": "Roo.data"
+ }
+ ]
+ },
{
"listeners": {
"|select": "function (combo, record, index)\n{\n _this.langgrid.getDataSource().reload(); \n}",