make first column fixed

This commit is contained in:
Mojca Lorber 2016-12-07 15:02:18 +01:00
parent 195055f9cf
commit 5b5342de6f

View file

@ -25,7 +25,8 @@ table = $("#samples").DataTable({
type: "POST" type: "POST"
}, },
colReorder: { colReorder: {
realtime: false // Enable reordering realtime: false, // Enable reordering
fixedColumnsLeft: 1
}, },
columnDefs: [{ columnDefs: [{
targets: 0, targets: 0,