render : function (_self)
{
_this.etypeCombo = _self;
- },
- select : function (combo, record, index)
- {
- _this.grid.footer.onClick('first');
}
},
alwaysQuery : true,
- displayField : 'comptype_name',
+ displayField : 'name',
emptyText : "Select Type",
fieldLabel : 'Type',
forceSelection : true,
qtip : "Select type",
queryParam : 'query[name]',
selectOnFocus : true,
- tpl : '<div class="x-grid-cell-text x-btn button"><b>{comptype_name}</b> </div>',
+ tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
triggerAction : 'all',
typeAhead : false,
- valueField : 'val',
+ valueField : 'name',
width : 200,
store : {
xtype: 'Store',
id : 'id',
root : 'data',
totalProperty : 'total',
- fields : [{"name":"id","type":"int"},{"name":"etype","type":"string"}]
+ fields : [{"name":"id","type":"int"},{"name":"name","type":"string"}]
}
}
},