{
xtype: 'ComboBox',
xns: Roo.form,
+ listeners : {
+ select : function (combo, record, index)
+ {
+ Roo.log(record);
+ /*
+ (function() {
+ combo.setValue('');
+ }).defer(100);
+ */
+ _this.form.findField('bodytext').setValue(record.data.content);
+
+ }
+ },
allowBlank : true,
alwaysQuery : true,
displayField : 'file',
}
},
remoteSort : true,
- sortInfo : { direction : 'DESC', field: 'name' },
+ sortInfo : { direction : 'DESC', field: 'file' },
proxy : {
xtype: 'HttpProxy',
xns: Roo.data,