日期:2014-05-16  浏览次数:20468 次

easyUI 远程加载下拉数据问题
当我选中修改combobox时,显示如下,


不能把当前已选中的项显示出来,如下图(这个不是远程加载的,是写死的)


我的代码如下:

{title:'所属店名', field:'parent_id', align:'center', width:130,
                      formatter:function(value, row, index){
                            if(row.parent_name == row.shop_name)
                            {
                              return "无所属店";
                            }
                            else
                            {
                              return row.parent_name;
                            }
                        },
                        editor:{
                            type:'combobox',
                            options:{
                                valueField:'parent_id',
                                textField:'parent_name',