title: Detecting checkbox event in jqGrid cell
body: <p>I'm exploring <code>jqGrid</code> in my journey of learning Javascript and jQuery and I manged to put a <code>checkbox</code> in a grid cell, awesome!</p>
  <p>Here's what I have:</p>
  <pre><code>$(&quot;#myTable&quot;).jqGrid({
    colModel:[
       name:'cb', index:'cb', width:40, sorttype:&quot;text&quot;, align:&quot;center&quot;,
       edittype:&quot;checkbox&quot;, editoptions:{value:&quot;Yes:No&quot;}, formatter: &quot;checkbox&quot;,
       formatoptions: {disabled : false}},
       other stuff...
    ]
  </code></pre>
  <p>When a checkbox is clicked, how do I catch the event and determine the corresponding row data?</p>
  <p>Also, when I click the checkbox is the underlying data on the client side updated (does the cb field switch &quot;Yes&quot;/&quot;No&quot;)? How do I achieve this?</p>