DataTables Column reordering on a button click

DataTables Column reordering on a button click

RajneeshRajneesh Posts: 3Questions: 0Answers: 0
edited December 2012 in Blog
Hi All,

In my requirement, There will be a button somewhere on page, clicking on that one hover box (div) will appear. This box will show all the column titles one by one in tabular format, where user can re-order any column (just by dragging that row and dropping up/down at desire row position in the hover box). There will be a button in hover box at bottom called "Apply changes". Once user clicks on that actual re-ordering on DataTables will happen. I have also save this new ordering scheme to DB so that in next login DataTables will will maintain the state and show columns depending upon user's last saved preferences.

I am new to DataTable, need to know how to fetching columns and control re-ordering dynamically from front end on click of "Apply Changes button"

Thanks,
This discussion has been closed.