mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-02 14:24:11 +01:00
28 lines
818 B
XML
28 lines
818 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<dt-example table-type="html">
|
|
|
|
<css lib="datatables" />
|
|
<js lib="jquery" />
|
|
<js lib="datatables" />
|
|
|
|
<title>Language options</title>
|
|
<js><![CDATA[
|
|
$(document).ready(function() {
|
|
$('#example').dataTable( {
|
|
"language": {
|
|
"lengthMenu": "Display _MENU_ records per page",
|
|
"zeroRecords": "Nothing found - sorry",
|
|
"info": "Showing _START_ to _END_ of _TOTAL_ records",
|
|
"infoEmpty": "Showing 0 to 0 of 0 records",
|
|
"infoFiltered": "(filtered from _MAX_ total records)"
|
|
}
|
|
} );
|
|
} );
|
|
]]></js>
|
|
|
|
<info>
|
|
Changing the language information displayed by DataTables is as simple as passing in a language object to the dataTable constructor. The example above shows a different set of English language definitions to be used, rather than the defaults.
|
|
</info>
|
|
|
|
</dt-example>
|