title: How can I get my custom attribute of a column from jquery datatables on draw.dt function?
body: <p>I have a custom datatable extends jquery datatables. I have a custom attribute in column which name is like <code>dataType</code>. How can I get value of this custom attribute on <code>draw.dt</code> event of jquery datatable?</p>
  <p><strong>Here is my custom datatable extension;</strong></p>
  <pre><code>$.fn.customDataTable = function (options) {    
  var dataTable = table.DataTable({
      order: options.order,
      rowId: options.rowId,
      ajax: options.ajax,
      columns: options.columns,
      paging: paging,
      serverSide: true,
      processing: true,
      responsive: true,
      language: {
          url: '/Features/Shared/Component/DataTable/Localization/datatables_tr.json',
          oPaginate: {
              sFirst: '&lt;i class=&quot;fas fa-step-backward&quot;&gt;&lt;/i&gt;',
              sPrevious: '&lt;i class=&quot;fas fa-caret-left&quot;&gt;&lt;/i&gt;',
              sNext: '&lt;i class=&quot;fas fa-caret-right&quot;&gt;&lt;/i&gt;',
              sLast: '&lt;i class=&quot;fas fa-step-forward&quot;&gt;&lt;/i&gt;'
          },
          sProcessing: `&lt;i class=&quot;fas fa-circle-notch fa-spin fa-3x&quot;&gt;&lt;/i&gt;`,
      },
      initComplete: function (settings) {
          ...
          ...
      },
      drawCallback: function () {
          ...
          ...
      }
  });
  
  dataTable.on('draw.dt', function (e) {
      ...
      //Here is where I want to get my custom attribute of a column
      ...
  });
  
  return dataTable;
  }
  </code></pre>
  <p><strong>Here is an example usage of my custom datatable;</strong></p>
  <pre><code>$('#tbl_Company').customDataTable({
      order: [[0, 'desc']],
      rowId: 'id',
      ajax: {
          url: '/Company/GetCompanies',
          type: 'POST',
          dataType: 'json'
      },
      columns: [
          {
              data: 'createdAt',
              name: 'CreatedAt',
              orderable: false,
              defaultContent: '',
              dataType: 'date'
          }
      ]
  });
  </code></pre>