title: How add more then one button in each row in JQuery datatables and how to apply event on them
body: <p>I have one button but I need two buttons and perform some MySql when they are clicked to get data from the underlying database.</p>
  
  <p>How can I perform an event using these two buttons?</p>
  
  <pre><code>$(document).ready(function () {
      var table= $('#example').dataTable( {
          "ajax": "..//wp-content/plugins/jobify/Admin/data.txt",
          "columnDefs": [ {
              "targets": -1,
              "data": null,
              "defaultContent": "&lt;button&gt;View Posted Jobs&lt;/button&gt;"
          } ]
      } );
  
      $('#example tbody').on( 'click', 'button', function () {
          //var data = table.row( $(this).parents('tr') ).data();
      } );
  } );
  </code></pre>