日期:2014-05-16 浏览次数:20430 次
Yyqkhzlr.comboBoxRenderer = function(combo) {
return function(value) {
var idx = combo.store.find(combo.valueField, value);
var rec = combo.store.getAt(idx);
return (rec == null ? value : rec.get(combo.displayField));
};
}