Disable column reordering on certain columns
Disable column reordering on certain columns
Hey there!
I've been struggling with an issue for a few weeks now and have tried several solutions and have no luck
Basically, I have a table with 20+ columns and users want the ability to reorder them -- easy enough. Problem is, when they double click a line it grabs the UniqueID in the rightmost column and passes it to an API that returns more details regarding that row. The issue arises when a user moves the UniqueID column, I can no longer grab that value in order to pass to the API.
Is there a way to allow colReorder for all but one column? I tried making it a fixed column but it doesn't seem to have solved the problem.
Thanks for the help!
Answers
Are you saying you tried
colReorder.fixedColumnsRight
?It seems to work here:
http://live.datatables.net/kebefepa/1/edit
Maybe you can post a link to your page or a test case replicating the issue. It iwll be easier for us to help.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin