{hero}

autoFill.update

Since: AutoFill 2.0.0

Control automatic update of data when a fill drag is completed.
Please note - this property requires the AutoFill extension for DataTables.

Description

At the end of a fill action you will typically wish to take some action to reflect the change from the data fill. By default AutoFill will write the filled values to the DataTable and then redraw the table to account for any changes in ordering.

This action is not always desirable, particularly if you are using server-side processing or wish to have an external process update the data. In such circumstances this option can be used to disable the automatic data update and draw.

Type

boolean

Description:
  • true - DataTables data is automatically updated as a result of the auto fill action and the table redrawn.
  • false - No data update or draw is performed.

Default

  • Value: true

Data is updated and table redrawn

Example

Disable data update.:

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