In DataTables is there any way to rename the Show ___ Entries drop down text? Specifically, I have a client who wants to change "Show" to "Display". If memory serves, this is generated by the lengthMenu item, but while I see how to customize the select box options I haven't found any way to change the label.
UPDATE: here is my relevant code.
$("#datatable").dataTable( {
bFilter: false,
"sDom": 'lfptip',
"oLanguage": {
"sLengthMenu": "Display _MENU_ records",
}
"aoColumnDefs": [{ "bSortable": false, "aTargets": [ 9 ] }, { sType: 'datetime-us-flex', aTargets: [0, 4] }, { sType: 'numeric-empty-bottom', aTargets: [7, 8] },
{ "sClass": "col-strong", "aTargets": [ 1 ] }
],
});
You can use this
from https://datatables.net/docs/DataTables/1.9.beta.1/DataTable.defaults.oLanguage.html#sLengthMenu_details
Demo | Docs