DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 87 forks source link

data-priority not working #72

Closed t0n1zz closed 8 years ago

t0n1zz commented 8 years ago

so i tried to add

<th data-priority="1"> Delete </th>

but it just not working but if i using javascript way i

$('#myTable').DataTable( {
    responsive: true,
    columnDefs: [
        { responsivePriority: 1, targets: 0 },
        { responsivePriority: 2, targets: -1 }
    ]
} );

still work, so where is i'm wrong?

DataTables commented 8 years ago

See #57. This unfortunately is a bug in the 2.0.0 release. It has been fixed with the latest code in this repo and I plan to release it in the next week or two.