{hero}

rowReorder.cancelable

Enable / disable the canceling of the drag and drop interaction.
Please note - this property requires the RowReorder extension for DataTables.

Type

boolean

Description:
  • true - Canceling is enabled either by pressing the ESC key or dropping the element outside of the table.
  • false - Canceling is disabled.

Default

  • Value: false

Canceling is not enabled.

Example

Disable data update.:

new DataTable('#myTable', {
	rowReorder: {
		cancelable: false
	}
});