title: JQGrid: Dropdown, select the value, through addrow
body: <p>In JQGrid I have used the dropdown column with the following code (in colModel):</p>
  
  <pre><code>{
      name: 'CountryList', index: 'CountryList', width: 120, resizable: true, 
      sortable: false, editable: true, edittype: 'select', formatter: 'select', 
      formatoptions: { 
          disabled: false 
      },
      editoptions: {
          size    : 1,
          dataUrl : 'GetLists.ashx?Type=CountrLists&amp;RegionID=2'),
          dataEvents: [{
              type: 'change',
              fn: function (e) {
                  //$('input#Job_Number').val(this.value);
                  //alert(this.value);
              }
          }],
          style: "width: 95%"
      }
  },
  </code></pre>
  
  <p><strong>Problem</strong>:</p>
  
  <p>When adding row (<strong>addrow</strong>), i want the added row to have the above mentioned dropdown column value <strong>selected</strong>, by passing a paramter (preferably value of select/option HTML control)</p>
  
  <pre><code>parameters =
      {
      rowID   : undefined,
      initdata: { 
          chkSave: "false", 'Label': 'test', people: 'Test person', 
          CountryList: '2', Notes: 'Test notes.' 
      },
      position: "first",
      useDefValues: true,
      useFormatter: false,
      addRowParams: { extraparam: {} }
  };
  
  
  $("#tbJQGrid").jqGrid('addRow', parameters);
  </code></pre>
  
  <p>Please provide some solution or alternatives.</p>