{hero}

autoFill.horizontal

Since: AutoFill 2.3.0

Enable / disable user ability to horizontally 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 - Horizontal drag and fill is enabled
  • false - Horizontal drag and fill is disabled

Default

  • Value: true

Horizontal filling is enabled

Example

Disable horizontal filling:

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

Related

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