ColReorder adds the ability for the end user to click and drag column headers to reorder a table as they see fit, to DataTables. See the [documentation](http://datatables.net/extensions/colreorder/) for full details.
npm install datatables-colreorderColReorder adds the ability for the end user to click and drag column headers to reorder a table as they see fit, to DataTables. See the documentation for full details.
ColReorder is initialised using the colReorder option in the DataTables constructor - a simple boolean true will enable the feature. Further options can be specified using this option as an object - see the documentation for details.
Example:
``js``
$(document).ready( function () {
$('#myTable').DataTable( {
colReorder: true
} );
} );
* Documentation
* DataTables support forums
If you fancy getting involved with the development of ColReorder and help make it better, please refer to its GitHub repo: https://github.com/DataTables/ColReorder