title: How to restrict particular Row to be selected on Header Select All event in JQGRID
body: <p>Using jqGrid I have disabled the row selection on checkbox column click by following event:</p>
  
  <pre><code>beforeSelectRow: function (rowid, e) {
      var $myGrid = $(this),
          i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
          cm = $myGrid.jqGrid('getGridParam', 'colModel');
  
      var rowData = $grid.getRowData(rowid);
      var $isSelectable = true;
      if (rowData != null) {
          if (rowData.Status == -1) // Row selection depends on 'Status' property row data ( -1 : not selectable else selectable)
              $isSelectable = false;
          }
          return $isSelectable;
      },
  </code></pre>
  
  <p>But When i tried to click on Header Checkbox it selects all the rows. I am trying to use event <code>onSelectAll</code> but it is getting called after the row selection process, and I am unable to find the appropriate event that call before the Row Selection change. Please suggest appropriate solution.</p>
  
  <p><strong>Edit :</strong> </p>
  
  <p>The grid's Checkbox could have value (i.e. Checked / Unchecked) even if it is disabled.</p>
  
  <p>The grid have hyperlinks that navigate to another page.</p>