Disable sort for last 2 columns

Disable sort for last 2 columns

ikuiku Posts: 1Questions: 1Answers: 0

Hey,

I tried to use your example code to disable some columns of 12 columns table, but it seems not working.

My code is:
[code]
$("#myTable").dataTable({
"aoColumns": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{"bSortable": false},
{"bSortable": false}
]
});
[/code]

Is there anything I am missing?

Answers

This discussion has been closed.