datatables-colreorder

1.2.0 • Public • Published

ColReorder

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 for full details.

Basic usage

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:

$(document).ready( function () {
    $('#myTable').DataTable( {
     colReorder: true
    } );
} );

Documentation / support

GitHub

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

Readme

Keywords

none

Package Sidebar

Install

npm i datatables-colreorder

Weekly Downloads

54

Version

1.2.0

License

MIT

Last publish

Collaborators

  • datatables