title: onSelectRow in a JQGrid
body: <p>I have gone through the solutions given for not working onSelectRow but they could not worked for me.</p>
  
  <p>I have following code : </p>
  
  <pre><code>$("#myActions_gridTable").jqGrid({
          datatype:'local',
          data: myActionsData,
          cellsubmit: 'clientArray',
          cellEdit: true,
          rowNum: noOfLinesToDisplay,
          pager: $("#myActions_pager"),
          sortname: 'contract_Name',
          viewrecords: true,
          sortorder: 'asc',
          autoWidth:true,
          loadonce: true,
          cmTemplate: { title: false },
          height:'auto',
          scrollrows: true,
          colNames:["id","Status"],
          colModel:[
              {
                  name:'id',index:'id', jsonmap:'id', width:1,hidden:true,key:true, editable:true
              },
  
              {name:'status',index:'status', align:'center', sortable: false,
                  editable: true,
                  edittype: "select",
                  width: 150,
                  editoptions: {
                      value: "1:Done;2:Running"
                  }
  
              }
          ],
  
  
          onSelectRow : function(id){ 
              console.log('inside onSelectRow');
              if (id &amp;&amp; id !== lastsel) {
                  $('#myActions_gridTable').restoreRow(lastsel);
                  $('#myActions_gridTable').editRow(id, true);
                  lastsel = id;
              }
  
          }
      });
  </code></pre>
  
  <p>Here OnSelectRow does not get fired, no console.log is printed.
  Please help.</p>