How to apply sorting for only first column in the jquery data table
How to apply sorting for only first column in the jquery data table

Hi
I am adding columns dynamically to the datatable basing on the json data. Now I want to remove sorting for all the columns except for the first column. Please help me
This discussion has been closed.
Replies
I tried columnDefs: [{ orderable: false, targets: ['sorting']}], like this but it is not working where "sorting" is class name
Please help me i need it urgent
How are you putting the class name 'sorting' on your thead th?
Thanks,
I am done with that Issue, Now its working fine.