autoFill.editor
Attach an Editor instance for database updating.
Please note - this property requires the AutoFill extension for DataTables.
Description
When completing a AutoFill action you will typically wish to update the data source to reflect the changes made by the end user. This can be done with AutoFill's integration with Editor.
This option can specify an Editor instance that should be used to submit the changes to the server. Upon drag completion the changes will be immediately submitted to the server and the table redrawn with the updated data retrieved from the server.
Type
Default
- Value:
null
No Editor instance is automatically attached.
Example
Attach an Editor instance (editor
) to a table to provide Excel like auto fill options:
new DataTable('#myTable', {
autoFill: {
editor: editor
}
});