npm

datatables-bootstrap

0.0.1 • 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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i datatables-bootstrap

    Weekly Downloads

    1,006

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • datatables