Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Right align column with Bootstrap

$
0
0

I noticed that after replacing the default DT style with Bootstrap styling dt-right and dt-nowrap no longer works.

Can't find any information that I should use Bootstrap specific commands for these options to work..

$(document).ready( function () {
  var table = $('#example').DataTable({
    "columnDefs": [
      { className: "dt-right", "targets": [3,5] },
      { className: "dt-nowrap", "targets": [0,1] }
    ]
  });
} );

http://live.datatables.net/rubesuze/1/


Viewing all articles
Browse latest Browse all 2364

Trending Articles