title: jquery datatables add checkbox with ajax server side response
body: <p>I am using C# ASP .NET MVC and ajax calls. I am able to get the display of the table along with all features.</p>
  
  <p>But, I don't understand how do I add a checkbox and button. I have tried dom-checkbox as well but can't get it to work.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>$(document).ready(function () {
  
  $('#personTable').dataTable({
              "bJQueryUI": true,
              "sPaginationType": "full_numbers",
              "bProcessing": true,
              "bServerSide": true,
              "sAjaxSource": "/Home/GetCustomData",
              "aoColumns": [
                           { "sSortDataType": "dom-checkbox", "sTitle": "Select", 
                                       sName": "" },
                           { "sName": "ID", "sTitle": "ID" },
               { "sName": "FirstName", "sTitle": "First Name" },
               { "sName": "Email", "sTitle": "Email"}]
          });
      });
  </code></pre>
  
  <p>My Html is :
  <code>[table border="1" id="personTable" class="display"]
  [/table]</code></p>