Is there any way to disable 'colReorder' for any column?

Is there any way to disable 'colReorder' for any column?

bikram.b@bitordertech.combikram.b@bitordertech.com Posts: 7Questions: 2Answers: 0

I want to reorder columns except for the first and second column.For Example:
suppose I have columns like- col1 col2 col3 col4 col5. So the reorder will happen among col3, col4, and col5. col1 and col2 will always be fixed. Right now reorder is happening among all columns.
I am using- 'dataTables.colReorder.min.js'
and providing - "colReorder": true, in datatable initialization. Am I missing something.?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.