mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-28 01:54:15 +01:00
32 lines
829 B
XML
32 lines
829 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><![CDATA[
|
|
|
|
Changing the language information displayed by DataTables is as simple as passing in a `dt-init language` object to the DataTable constructor.
|
|
|
|
The example above shows a different set of English string being used, rather than the defaults.
|
|
|
|
]]></info>
|
|
|
|
</dt-example>
|