title: Define functions for the options after initializing Datatable object
body: <p>I trying to use Datatables JS . I have to create a function for <code>createdRow</code> callback method after initializing the datatable object. If I could do it at the initial time, it would be something like this:</p>
  
  <pre><code>$(document).ready(function() {
      $('#example').dataTable( {
          "createdRow": function( row, data, dataIndex ) {
              // do some work
          }
      });
  });
  </code></pre>
  
  <p>But I should define it after initializing:</p>
  
  <pre><code>$(document).ready(function() {
      $('#example').dataTable();
      // do several things
      // and finally create callback method
  });
  </code></pre>
  
  <p>Is there any way to do this?</p>
  
  <p>Appreciate any help.</p>