title: EasyUI - edatagrid - combox field editor - does not show textField
body: <p>Very silly problem - please help - tearing my hair out.</p>
  
  <p>Combobox as editor in edatagrid - working fine
  Local array is the data source for the combobox - working fine
  Remote php is source for edatagrid - working fine
  easyUI : 1.3.4
  jQuery : 2.0.0
  CentOS : 5.9 </p>
  
  <p><strong>Problem</strong></p>
  
  <p>Combobox in datagrid refuses to show textField after selection.  Insists on showing valueField. Have tried multiple solutions from all over the Internet.</p>
  
  <p>The code - sorry - has been edited in vi - formatting may be really wonky - the formatter function of the combobox below is the latest version I have tried - insists on showing the valueField </p>
  
  <pre><code>        &lt;script type="text/javascript"&gt;
              $(function(){
                      var aRights =  [{rightid: 'V', rightname: 'View Only'},
                                      {rightid: 'E', rightname: 'Edit FPC'},
                                      {rightid: 'A',  rightname: 'Admin'},
                                      {rightid: 'N', rightname: 'None'}
                      ] ;
                      $('#cbCompany').combobox({
                              url: 'fpc_company_list.php',
                              valueField: 'companyid',
                              textField: 'companyname',
                              onSelect: function(rec) {
                                      var url = 'fpc_user_list.php?companyid=' + rec.companyid;
                                      $('#cbUser').combobox('reload', url);
                                      //$('#cbUser').combobox('clear');
                              }
                      });
                      $('#cbUser').combobox({
                              valueField: 'userid',
                              textField: 'userfullname',
                              onSelect: function (rec) {
                                   var url = 'fpc_get_user_channel_map.php?userid=' + rec.userid ;
                                   $('#tChannels').edatagrid({url: url}) ;
                              }
                      });
                      $('#tChannels').edatagrid({
                                      url: 'fpc_get_user_channel_map.php',
                                      columns: [[
                                                      {field: 'channelid', title: 'Channel ID', visible: false},
                                                      {field: 'channelname', title: 'Channel'},
                                                      {field: 'rights', title: 'Rights', width: 150, editor: {type: 'combobox',
                                                                                                      options: {
                                                                                                                      valueField: 'rightid',
                                                                                                                      textField: 'rightname',
                                                                                                                      panelHeight: 'auto',
                                                                                                                      data: aRights,
                                                                                                                      formatter: function(value) {
                                                                                                                              console.log(value) ;
                                                                                                                              for (var i = 0; i &lt; aRights.length; i++) {
                                                                                                                                      if (aRights[i].rightid == value.rightid) return aRights[i].rightname ;
                                                                                                                              }
                                                                                                                              return value.rightid;
                                                                                                                 }
                                                                                                          }
  
                                                                                                      }
  
                                                      }
                                              ]]
                      });
                      $('#bSubmit').bind('click', function() {
                                              var selRow = $('#tChannels').datagrid('getData');
                                              var jsonStr = JSON.stringify(selRow) ;
                                              alert(jsonStr) ;
                                              $.ajax({
                                                      url : 'fpc_map_user_channel_update.php',
                                                      type: 'POST',
                                                      dataType: 'text',
                                                      data: jsonStr,
                                                      done: function(res) {
                                                              alert(res) ;
                                                      }
                                              });
                                      } //function
                      ); //button bind
              });
      &lt;/script&gt;
  </code></pre>