title: How to pass values from Jqgrid onselect row to another grid
body: <p>I have to get value from Jqgrid Selected row and populate one more grid with datas based on the selected value from the master grid. I dont want to use master detail or subgrdi in Jqgrid. Since I am using MVC, is there any way to populate the second jqgrid in one more view?
  I am not able to get the column value on selected row to post it to the second grid.</p>
  
  <p>here is my code</p>
  
  <pre><code>$(document).ready(function() {   
      $("#UBSImageList").jqGrid({
          url: '&lt;%= Url.Content("~/UpdateBatchStatus/UBSDataJson/") %&gt;',   
          datatype: "json",
          mtype: 'POST',
          colNames: ['BatchImageName'],
          colModel: [
              {name:'BatchImageName', index:'BatchImageName', align: 'left', width: 40, editable: false ,sortable: true}
          ],
          rowNum: 20,
          rowList: [10, 20, 30, 50],
          pager: jQuery('#UBSImagePager'),
          viewrecords: true,
          imgpath: '&lt;%= Url.Content("~/Content/Scripts/themes/basic/images")%&gt;', 
          sortname: 'BatchImageName',
          sortorder: "asc",
          autowidth: true,
          caption: 'Client Payor Group',
          height: 350
      }); 
  
      $('#UBSImageList').setGridParam({
          onSelectRow: function(id) {                   
              window.location = '/UpdateBatchStatus/Details?id=' + id;    
          }
      });
  }
  </code></pre>