PHP Classes

File: assets/plugins/datatables/extensions/ColReorder/

Recommend this page to a friend!
  Classes of Kishor Mali  >  PHP User Feedback System  >  assets/plugins/datatables/extensions/ColReorder/  >  Download  
File: assets/plugins/datatables/extensions/ColReorder/
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP User Feedback System
Application to record feedback from customers
Author: By
Last change:
Date: 1 year ago
Size: 1,301 bytes


Class file image Download


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


To use ColReorder, first download DataTables ( ) 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 $.fn.dataTable.ColReorder constructor. For example:

$(document).ready( function () {

    new $.fn.dataTable.ColReorder( table );
} );

Documentation / support

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

For more information send a message to info at phpclasses dot org.