rowReorder.enable
Enable / disable RowReorder's user interaction.
Please note - this property requires the RowReorder extension for DataTables.
Description
This option can be used to disable RowReorder's end user interaction when the DataTable is first created. It can then later be enabled using the rowReorder.enable()
API method.
Type
Default
- Value:
true
RowReorder is enabled by default when the rowReorder
property is included in the DataTables initialisation.
Example
Disable RowReorder using init options (to later be enabled via the API):
new DataTable('#myTable', {
rowReorder: {
enable: false
}
});
Related
The following options are directly related and may also be useful in your application development.