Ext中combobox读数据后 设置默认值

typeCommonStore.on('load',function(store,records,op){

if(records.length>0){

ext_docTypeCommonbox.setValue(records[0].data['id']);

}

});

来源:一起Ext
原文地址:http://www.17ext.com/showtopic-7308.aspx

你可能感兴趣的:(Ext中combobox读数据后 设置默认值)