Created
July 14, 2021 05:50
-
-
Save Rameshwar-ghodke/a0590bd054fdd4ded97bf1f35ba46af4 to your computer and use it in GitHub Desktop.
disable for all columns sorting or one by one spacifing particular index count no. Disable sorting of particular data table column wise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oTable = $('#zero_configuration_table_info').dataTable( { | |
// "ordering": false // disable for all columns sorting | |
"aoColumnDefs": [ | |
{ "bSortable": false, "aTargets": [ 8] }, | |
// { "width": "90", "aTargets": [0] } | |
// { "min-width": "120", "aTargets": [ 2,3,5,6] } | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment