title: Datatables fixed column not aligned
body: <p>I'm making a Datatables page and I fixed the last column with FixedColumns.</p>
  <p>However, this column is not aligned with the other lines.</p>
  <p><a href="https://i.stack.imgur.com/MDKv4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MDKv4.png" alt="enter image description here" /></a></p>
  <p>This is my code to create the Datatables:</p>
  <pre><code>var table = $('#mytable').DataTable({
      ajax: {
          type: &quot;POST&quot;,
          &quot;url&quot;: 'my url',
          &quot;dataSrc&quot;: &quot;&quot;,
      },
      &quot;createdRow&quot;: function(row, data, dataIndex) {
          if (data['main'] === &quot;1&quot;) {
              $(row).addClass('maincontact');
          } else {
              $(row).addClass('secondcontact');
          }
      },
      &quot;processing&quot;: true,
      &quot;paging&quot;: true,
      &quot;scrollY&quot;: true, 
      &quot;scrollX&quot;: true,
      &quot;deferRender&quot;: true,
      fixedColumns: {
          leftColumns: 0,
          rightColumns: 1
      },
      &quot;order&quot;: [
          [4, &quot;asc&quot;]
      ],
      &quot;autoWidth&quot;: true,
      select: {
          style: 'os',
          items: 'cell'
      },
      dom: 'Blfrtip',
      buttons: [{
          extend: 'csv',
          text: 'csv'
          },
          bom: true
      }],
      columnDefs: [{
          targets: tablesize, // tablesize = the last column
          data: null,
          render: function(data, type, row, meta) {
              if (data['main'] === &quot;1&quot;) {
                  return '&lt;button type=&quot;button&quot; class=&quot;btn btn-primary btn-update&quot; &gt;Update&lt;/button&gt;';
              } else {
                  return '&lt;button type=&quot;button&quot; class=&quot;btn btn-primary btn-update d-none&quot; &gt;Update&lt;/button&gt;';
              }
          }
      }]
  });
  return table;
  </code></pre>
  <p>I already search on Datatables documentation and forum. I also search in StackOverflow but all the threads are about the fixedHeaders, but i don't have this option.</p>
  <p>If someone has an idea, i take it.</p>