Replacing boilerplate text
Replacing boilerplate text
One of the great features of DataTables is the ability to easily search through your results. However, my customer has requested that the label next to the search box be changed to "Filter" or "Filter Results." I tried to handle this in the dataTable() call like the following, but to no effect.
[code]
oTable = $('#request-table').dataTable({
"bJQueryUI": true,
"bAutoWidth": false,
"sSearch": "Filter Results"
});
[/code]
Is there another way (other than doing something completely naughty like updating the dataTables.js) to get this to appear with a different label?
Brian
[code]
oTable = $('#request-table').dataTable({
"bJQueryUI": true,
"bAutoWidth": false,
"sSearch": "Filter Results"
});
[/code]
Is there another way (other than doing something completely naughty like updating the dataTables.js) to get this to appear with a different label?
Brian
This discussion has been closed.
Replies
[code]
oTable = $('#request-table').dataTable({
"bJQueryUI": true,
"bAutoWidth": false,
"oLanguage": {
"sSearch": "Filter results:"
}
});
[/code]
Brian