Readme.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # ColReorder
  2. 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:
  3. * Very easy integration with DataTables
  4. * Tight integration with all other DataTables plug-ins
  5. * The ability to exclude the first (or more) column from being movable
  6. * Predefine a column order
  7. * Save staving integration with DataTables
  8. # Installation
  9. 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.
  10. # Basic usage
  11. ColReorder is initialised using the `R` option that it adds to DataTables' `dom` option. For example:
  12. ```js
  13. $(document).ready( function () {
  14. $('#example').dataTable( {
  15. "dom": 'Rlfrtip'
  16. } );
  17. } );
  18. ```
  19. # Documentation / support
  20. * Documentation: http://datatables.net/extensions/colreorder/
  21. * DataTables support forums: http://datatables.net/forums
  22. # GitHub
  23. 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