language.fixedColumns.button
Since: FixedColumns 4.0.0
Set FixedColumns button text.
Please note - this property requires the FixedColumns extension for DataTables.
Description
As standard, FixedColumns will set the FixedColumns Button to display a default text, in this case FixedColumns
The value of language.fixedColumns.button
is passed into an i18n()
function.
Type
Default
- Value:
FixedColumns
Example
Change message for FixedColumns button:
$(document).ready(function () {
new DataTable('#myTable', {
language: {
fixedColumns: {
button: 'Sticky Columns'
}
},
layout: {
topLeft: {
buttons: ['fixedColumns']
}
}
});
});
Related
The following options are directly related and may also be useful in your application development.