RowReorder
DataTables is often used to show sequential data, and naturally from that comes the desire to be able to reorder that data - for this the RowReorder extension is available. It provides the end user with the ability to click and drag (or touch and drag on mobile devices) a row in the table and change its position. Full integration with Editor's multi-row editing abilities is also available to have updates automatically written to a database.
Enable the RowReorder extension for DataTables.
Or, configure it.Cancelable¶
Enable / disable the canceling of the drag and drop interaction.
DataSrc¶
Configure the data point that will be used for the reordering data.
Editor¶
Attach an Editor instance for database updating.
Enable¶
Enable / disable RowReorder's user interaction.
FormOptions¶
Set the options for the Editor form when submitting data.
Selector¶
Define the selector used to pick the elements that will start a drag.
SnapX¶
Horizontal position control of the row being dragged.