title: Jquery EasyUI- How to get checkbox checked or not checked in easyui-datagrid table td
body: <p>i am new to jeasyui. I generated dynamic table with easyui-datagrid and have to enable checkbox for each row. Now i want get each row details when checked and uncheck on checkbox for particular row.</p>
  
  <pre><code>&lt;table id="process-list" title="Video Processing" class="easyui-datagrid" style="width:700px;height:250px"
          url="$/emplyoee/getfiles.action"
          idField="itemid"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
       &lt;th field='ck' checkbox="true"  type="checkbox" &gt;&lt;/th&gt; 
               &lt;th field="id" width="50" &gt;Id&lt;/th&gt;              
              &lt;th  field="createDate" width="50" &gt;CreateDate&lt;/th&gt;
              &lt;th field="product" width="50"&gt;Product&lt;/th&gt;             
              &lt;th field="no.Files" width="50"&gt;No.Files&lt;/th&gt;
              &lt;th field="status" width="50"&gt;Status&lt;/th&gt;
              &lt;th field="cycle" width="50"&gt;Cycle&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  &lt;/table&gt;
  
  $(document).ready(function() { 
  $('input[name="ck"]').click(function(){
  if($(this).prop("checked") == true){
      alert("Checkbox is checked.");
  }
  else if($(this).prop("checked") == false){
      alert("Checkbox is unchecked.");
  }  
  
  });
  </code></pre>
  
  <p>I tried with click function but it's not working.
      });</p>