title: set radiobutton in loadComplete of grid
body: <pre><code>        $("#addressList").jqGrid({
          url: '/Storage/Shipping/GetCustomerAddresses?q=2&amp;Customerid=' + $("#saveCustomerID").val(),
          datatype: "Json",
          jsonReader: {
              root: "Data.rows",
              page: "Data.page",
              total: "Data.total",
              records: "Data.records",
              repeatitems: true,
              userdata: "userdata",
              cell: "cell"
          },
          colNames: ['', 'Line 1', 'Line 2', 'City', 'State'],
          colModel: [
                           { name: 'myradio', width: 30, fixed: true, align: 'center', resizable: false, sortable: false,
                               formatter: function (cellValue, option) {
                                   return '&lt;input type="radio" name="radio_' + option.gid + '" /&gt;';
                               } 
                           },
                           { name: 'Line1', index: 'Line1', width: 250 },
                           { name: 'Line2', index: 'Line2', width: 250 },
                           { name: 'City', index: 'City', width: 210 },
                           { name: 'State', index: 'State', width: 75 }
                      ],
          page: 1,
          rowNum: 50,
          rowList: [20, 50, 100],
          pager: '#pager',
          viewrecords: true,
          grouping: false,
          caption: "Addresses",
          mtype: "POST",
          width: "100%",
          height: "100%",
          loadonce: true,
          sortable: false,
          beforeSelectRow: function (rowid, e) {
              var radio = $(e.target).closest('tr').find('input[type="radio"]');
              radio.attr('checked', 'checked');
              $("#saveCustomerAddressID").val(rowid.toString());
              return true; // allow row selection
          },
          loadComplete: function () {
              var grid_ids = $("#addressList").jqGrid('getDataIDs');
              for (var i = 0; i &lt; grid_ids.length; i++) {
                  if ($("#saveCustomerAddressID").val() == grid_ids[i]) {
                      {
                          $("#addressList").jqGrid('setSelection', grid_ids[i], true);
  
                      }
                  }
              }
          }
          //, postdata: { CustomerID: $("#saveCustomerID").val() }
      }); 
  </code></pre>
  
  <p>The above code sets the selection correctly in loadcomplete.  The $("#saveCustomerAddressID").val() is the rowid fro the JSON Data. 
  The radiobutton is set in the  beforeSelectRow. I know the row number and grid column of of the radiobutton to be set, but how do you set the radiobutton?</p>