This example shows the basic use case of the ColReorder plug-in. With ColReorder enabled for a table, the user has the ability to click and drag any table header cell, and drop it where they wish the column to be inserted. The insert point is shown visually, and the column reordering is done as soon as the mouse button is released.
$(document).ready( function () { var oTable = $('#example').dataTable( { "sDom": 'Rlfrtip' } ); } );