Drag and drop column reordering
Drag and drop column reordering
Allan,
Is there a plan to implement drag and drop column reordering? For example, we have many tables with 10 or more columns and each user wants a few columns they use to be in a certain order. I would prefer the ability to allow the user to drag and drop the columns into the order they like and then save their preferences using bSaveState.
Is this a planned feature? How far out is it? Can I sway you by offering some cash - how much would it take? :)
Thanks!
Is there a plan to implement drag and drop column reordering? For example, we have many tables with 10 or more columns and each user wants a few columns they use to be in a certain order. I would prefer the ability to allow the user to drag and drop the columns into the order they like and then save their preferences using bSaveState.
Is this a planned feature? How far out is it? Can I sway you by offering some cash - how much would it take? :)
Thanks!
This discussion has been closed.
Replies
There has been some discussion about this feature in the forum before - the first thread has some code which has been created:
http://datatables.net/forums/comments.php?DiscussionID=764
http://datatables.net/forums/comments.php?DiscussionID=2696
It would certainly be a nice thing to have, but I suspect it might not be completely trivial to do. The first step would be to write a plug-in for DataTables which will reorder the columns in it's internal data structure (moving and hacking arrays around basically). Then another plug-in can be created which will provide the user interaction bit - which is to drag and drop the columns.
Sponsoring a new feature in DataTables is always welcome - please ping me if you'd like to guarantee the feature is worked on ( http://datatables.net ), or hit the donate button if you just want to bump it up the priority list.
Regards,
Allan