{hero}

autoFill.vertical

Since: AutoFill 2.3.0

Enable / disable user ability to vertically drag and fill.
Please note - this property requires the AutoFill extension for DataTables.

Description

This option can be used to disable the end user's ability to drag and fill across columns. The drag and fill action will be restricted to the column that they started the drag on if this feature is disabled.

Type

boolean

Description:
  • true - vertical drag and fill is enabled
  • false - vertical drag and fill is disabled

Default

  • Value: true

Vertical filling is enabled

Example

Disable vertical filling:

new DataTable('#myTable', {
	autoFill: {
		vertical: false
	}
});

Related

The following options are directly related and may also be useful in your application development.