title: Get checked row elements in jqgrid
body: <p>I have created a grid using jqgrid plugin, which is working almost fine.</p>
  
  <pre><code>$("#tblPreviousScanProj").jqGrid({ //set your grid id
      data: data, //insert data from the data object we created above
      datatype: 'local',
      width: 1025, //specify width; optional
      colNames:['Select','Repository/Project Path','Protex Project Name'], //define column names
      colModel:[
          {name:'Pname', index:'Select', editable: true, editoptions: { value: "True:False" }, align:'center', edittype: 'checkbox', formatter: "checkbox", width:15, formatoptions: {disabled: false}},
          {name:'Pname', index:"Repository/Project Path",width:100, shrinkToFit:true},
          {name:'ProtexName', index:"Protex Project Name", width:100, shrinkToFit:true}
      ], //define column models
      sortname: 'Repository/Project Path', //the column according to which data is to be sorted; optional
      viewrecords: true, //if true, displays the total number of records, etc. as: "View X to Y out of Z” optional
      sortorder: "asc", //sort order; optional
      caption:'&lt;h3&gt;Project(s) Previously Scanned&lt;/h3&gt;', //title of grid
      height: 'auto',
      rowNum: 100,
      gridview: true,
      autoencode: true
  });
  </code></pre>
  
  <p>Now i want to get the cell values for all checked rows. Tried the below method, but its not working for me. the alert box is showing nothing.</p>
  
  <pre><code>var selRowId = $('#tblPreviousScanProj').jqGrid ('getGridParam', 'selarrrow');
  alert(selRowId.join(","));
  </code></pre>