Skip to content

rgeerts/ColReorder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 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. Key features include:

* Very easy integration with DataTables
* Tight integration with all other DataTables plug-ins
* The ability to exclude the first (or more) column from being movable
* Predefine a column order
* Save staving integration with DataTables


# Installation

To use ColReorder, first download DataTables ( http://datatables.net/download ) and place the unzipped ColReorder package into a `extensions` directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.


# Basic usage

ColReorder is initialised using the `R` option that it adds to DataTables' `dom` option. For example:

```js
$(document).ready( function () {
    $('#example').dataTable( {
        "dom": 'Rlfrtip'
    } );
} );
```


# Documentation / support

* Documentation: http://datatables.net/extensions/colreorder/
* DataTables support forums: http://datatables.net/forums


# 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

About

Column reordering plug-in for DataTables

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.0%
  • Shell 1.4%
  • CSS 0.6%