language.autoFill
Container object for language strings used by AutoFill.
Please note - this property requires the AutoFill extension for DataTables.
Description
AutoFill make use of a number of strings that are displayed to the end user to explain what action will be performed based on the user input.
A parameters of this object provide the ability to customise those strings to suit your needs. This can be a full translation or a tweak of just one or two strings to match the styling of your site / app.
Type
object
- Description:
This is a container object for the language strings used by AutoFill:
language.autoFill.button
- Fill type selector button textlanguage.autoFill.cancel
- Cancel fill information messagelanguage.autoFill.fill
- Complete fill selector messagelanguage.autoFill.fillHorizontal
- Horizontal fill selector messagelanguage.autoFill.fillVertical
- Vertical fill selector messagelanguage.autoFill.increment
- Increment fill selector messagelanguage.autoFill.info
- Fill type selector summary
Example
Set a fill type information message:
new DataTable('#myTable', {
language: {
autoFill: {
info: 'Select a data fill type:'
}
},
autoFill: true
});