title: Exclude a jqGrid Column From onSelect Functions
body: <p>In my jqGrid(4.13.3 - free) when I click on a row the onSelect fires as desired. But I would like to be able to click in certain columns and the onSelect not be fired. Is this possible?</p>
  
  <p>If I click on an icon the twenty-fourth column I do not want the following code to fire. </p>
  
  <pre><code>onSelectRow: oSelect
  
  function oSelect(id){
  
          var p = $("#planningmatrixlist").jqGrid("getGridParam");
          var colModel = $("#planningmatrixlist").jqGrid("getGridParam", "colModel");
          var cm = p.colModel[p.iColByName.seatassy];
          delete cm.editoptions.dataEvents;
  
          selID = id;
          temp = $("#planningmatrixlist").getRowData(id)['editflag'];
          cr = $("#planningmatrixlist").getRowData(id)['componentroot'];
          wu = $("#planningmatrixlist").getRowData(id)['whereused'];
          tc = $("#planningmatrixlist").getRowData(id)['config'];
          $("#planningmatrixlist").setColProp('seatassy', { editoptions: { dataUrl: '/QMSWebApp/AssyComponentListSupportControllerServlet?lifecycle=seatassyoptionlist'}, defaultValue: 0});
          $("#planningmatrixlist").setColProp('back', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('bottom', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('legrest', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('headrest', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('lit', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('iprintstatus', { editoptions: { dataUrl: '/QMSWebApp/AssyComponentListSupportControllerServlet?lifecycle=yesnooptionlist'}, defaultValue: 0});
          $("#planningmatrixlist").setColProp('copyfrom', { editoptions: { dataUrl: '/QMSWebApp/AssyComponentListSupportControllerServlet?lifecycle=copyfromoptionlist'}, defaultValue: 0});
          $("#planningmatrixlist").setColProp('copyfrom', { editoptions: {dataEvents: [{ type: 'change', fn: function(e) {if($(this).val() !=0){copyfrom(this.value);}  }}]}});
          $("#planningmatrixlist").setColProp('arm', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('placard', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('baseframe', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
          $("#planningmatrixlist").setColProp('underseatshroud', { editoptions: {dataEvents: [{ type: 'focus', fn: function(e) {componentconfig(this.name,this.value);  }}]}});
  
  
  
          if(temp == 1){
  
              alert("This item can only be edited from " + cr + ".\r\nAdd a new configuration of this item to change components.");
              $("#edit_" + myGridId).addClass('ui-state-disabled');
  
          }
          else{
  
              $("#edit_" + myGridId).removeClass('ui-state-disabled');
  
          }
          //alert(tc);        
      };
  </code></pre>