One useful control option to present the end user when using ColReorder is the ability to reset the column ordering to that which was found in the HTML. This can be done by calling the fnReset API function. While ColReorder does not provide a visual element for this itself (in order to provide maximum flexibility) it is easy to hook to an event handler, as shown in this example.
$(document).ready( function () { var oTable = $('#example').dataTable( { "sDom": 'Rlfrtip', "oColReorder": { "aiOrder": [ 4, 3, 2, 1, 0 ] } } ); $('#reset').click( function () { ColReorder.fnReset( oTable ); return false; } ); } );