title: How to show checkboxes in jquery.datatables?
body: <p>I am using Datatables and I have the following code to generate the table. I want to display checkboxes for the read, write, execute and admin values.
  If the value is equal to 1 , I want the checkbox to be checked. and if 0 checkboxes unchecked.</p>
  
  <p>Javascript</p>
  
  <pre><code>&lt;script type="text/javascript" charset="utf-8"&gt;
              $(document).ready(function() {
                  var oTable = $('#example').dataTable( {
                       "sScrollY": "500px",                                
                      "bPaginate": false,
                      "bProcessing": true,
                      "sAjaxSource": "sources/sample.json"
                  } );
  
  
              } );
          &lt;/script&gt;
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;table cellpadding="0" cellspacing="0" border="0" class="display" id="example"&gt;
                      &lt;thead&gt;
                          &lt;tr&gt;
                              &lt;th width="20%"&gt;Browser&lt;/th&gt;
                              &lt;th width="25%"&gt;Read&lt;/th&gt;
                              &lt;th width="25%"&gt;Write&lt;/th&gt;
                              &lt;th width="15%"&gt;Execute&lt;/th&gt;
                              &lt;th width="15%"&gt;Admin&lt;/th&gt;
                          &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
  
                      &lt;/tbody&gt;
                      &lt;/table&gt;
  </code></pre>
  
  <p>JSON</p>
  
  <pre><code>{ "aaData": [
      ["Trident","0","0","0","1"],
      ["Trident","0","1","0","0"],
      ["Trident","0","0","1","1"],
      ["Trident","0","0","1","1"],
      ["Trident","0","0","1","1"],
      ["Trident","0","0","0","0"],
      ["Gecko","1","1","1","1"],
      ["Gecko","0","0","0","1"],
      ["Other browsers","1","0","0","U"]
  ] }
  </code></pre>