How To Disable Sort in DataTables

Published Date Author: , Posted July 10th, 2013 at 10:21:27am

To turn off Sort completely, use the 'bSort': false option.

http://datatables.net/usage/features#bSort

To have sorting turned off to begin with, but the user can still click on the columns to sort, use the 'aaSorting': [] (i.e. empty array) option.

http://datatables.net/examples/basic_init/table_sorting.html

Happy Coding!

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.