title: Onchange event in jqgrid
body: <p>I have two dropdown fields in jqgrid table indicating switch status as ON and Off.</p>
  
  <p>If user selects 'ON' option in any one switch, other switch option should change to 'OFF' and vice versa. At a time user can enable only on switch. Both switches can be in 'OFF' state but can not be 'ON' state'. So, I need onchange event for the above as, if user select 'ON' option for Switch1 , Switch2 must change to OFF and if user select 'ON' option for Switch2 , Switch1 must change to OFF. Please share some idea. </p>
  
  <p>Here is my code</p>
  
  <pre><code>grid_data = [{'Switch_1':'OFF', 'Switch_1':'OFF'},
           {'Switch_1':'ON', 'Switch_1':'OFF'},
           {'Switch_1':'OFF', 'Switch_1':'ON'},]
  colNames:['Switch 1', 'Switch 2'],
  colModel:[
       {name:'Switch_1',index:'Switch_1', width:55,editable:       true,edittype:"select",editoptions:{width:20, value:"0:OFF;1:ON"}}
       {name:'Switch_2',index:'Switch_2', width:55,editable: true,edittype:"select",editoptions:{width:20, value:"0:OFF;1:ON"}}
        ]
  </code></pre>